jQuery.noConflict(); var printsection; var allhtml; var isIE = false; var wturl;
if (navigator.appName == "Microsoft Internet Explorer") { isIE = true }
function ReplaceAll(Source,stringToFind,stringToReplace){
  var temp = Source;
    var index = temp.indexOf(stringToFind);
        while(index != -1){
            temp = temp.replace(stringToFind,stringToReplace);
            index = temp.indexOf(stringToFind);
        }
  return temp;
}
jQuery(document).ready(function(){
wturl=window.location.href.substring((location.href.indexOf(".com/"))+4);
var tempurl=wturl;
if(wturl.indexOf("index.html")!=-1){
wturl=wturl.substring(0,wturl.indexOf("/index.html"));
}
else if(wturl.indexOf(".html")!=-1){
wturl=wturl.substring(0,wturl.indexOf(".html"));
}
else{
wturl=wturl.substring(0,wturl.lastIndexOf("/"));
}
wturl=wturl+"/print/"; 
/*if ((document.getElementById("VerticalLocalNavi")!=undefined) && !(tempurl=="/services/support/eol-policy/index.html" || tempurl=="/services/support/eol-policy/product-definitions/index.html")){
	if(jQuery("#VerticalLocalNavi ul li:last-child").attr("class")=="Current"){	
		jQuery("#VerticalLocalNavi ul li:last-child").attr("class","Current LastItem");
	}
	else{
		jQuery("#VerticalLocalNavi ul li:last-child").attr("class","LastItem");
	}
	
	if(jQuery("#VerticalLocalNavi ul ul li:last-child").attr("class")=="Current"){	
		jQuery("#VerticalLocalNavi ul ul li:last-child").attr("class","Current LastItem");
	}
	else{
		if(jQuery(this).attr("class")=="LastItem null"){
			jQuery(this).attr("class","LastItem");
		}
		else{
			jQuery(this).attr("class","FirstItem");
		}
	}

}*/

});
function getPrint(){
printsection=jQuery(".printarea").html();
	if(printsection==null){
		printsection="   "; 
	}
	printsection=ReplaceAll(printsection,'<script>','<!--');
    printsection=ReplaceAll(printsection,'<SCRIPT>','<!--');

	printsection=ReplaceAll(printsection,'<script','<!--');
	printsection=ReplaceAll(printsection,'/script>','-->');
	printsection=ReplaceAll(printsection,'<SCRIPT','<!--');
	printsection=ReplaceAll(printsection,'SCRIPT>','-->');
	printsection=ReplaceAll(printsection,'wmode="transparent" ','wmode="opaque" ');
	allhtml='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\n<head>';
	allhtml+='<title>'+jQuery("title").html()+'</title>\n';
	allhtml+='<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n';
	allhtml+='<meta name="WT.dl" content="101" />\n';
	allhtml+='<link href="/assets/css/h1_en/basic.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/layout.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/module.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/grid.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/special.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/tabcontent.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/print.css" type="text/css" rel="stylesheet" media="print">\n';
	allhtml+='<link href="/assets/css/h1_en/blogs.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/assets/css/h1_en/combined-css.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<link href="/hdstv/wp-content/plugins/sociable/sociable.css" type="text/css" rel="stylesheet" media="all">\n';
	allhtml+='<script src="/assets/js/h1_en/ac_runactivecontent.js" type="text/javascript"></script>\n';
	allhtml+='<link href="/hdstv/css/hdstv.css" type="text/css" rel="stylesheet" media="all">\n'
	allhtml+='</head><body>\n';
	allhtml+='<style type="text/css">#OutBox{display:none;}</style>\n';
	allhtml+='<table width="100%" border="0" id="tables" style="border:0;text-align:right; width:718px; float:none; margin:0 auto;"><TR><TD style="border:0;text-align:right;"></TD></TR><TR><TD style="border:0;text-align:right; width:95%">\n';
	allhtml+='<input ID="print" type="button" value="Print" onclick="dcsMultiTrack(&quot;DCS.dcssip&quot;,&quot;www.hds.com&quot;,&quot;DCS.dcsuri&quot;,&quot;'+wturl+'&quot;,&quot;WT.dl&quot;,&quot;0&quot;);window.print();" style="_padding-top:3px" title="Print">\n';
	allhtml+='<input ID="close" type="button" value="Close" onclick="javascript:self.close();" style="_padding-top:3px" title="Close">\n';
	allhtml+='</TD></TR><TR><TD style="border:0;text-align:right;"></TD></TR></table>\n';
	allhtml+='<div style="text-align:left; float:none; margin:0 auto;" class="Grid3">'+printsection+'</div>\n';
	allhtml+='<script type="text/javascript">\n';
	allhtml+='var divs = document.getElementsByTagName("div"); \n';
	allhtml+='for(var i=0; i<divs.length; i++) {\n';
	allhtml+='if(divs[i].className=="BoxPatternA TabContent"){\n';
	allhtml+='divs[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].className=="TabContent"){\n';
	allhtml+='divs[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].className=="BoxPatternA"){\n';
	allhtml+='divs[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].className=="TabListContentBox"){\n';
	allhtml+='divs[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].className=="HorizontalTabNavi"){\n';
	allhtml+='divs[i].style.display="none";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].id=="GlobalTabContent"){\n';
	allhtml+='divs[i].style.display="none";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].className=="GlobalTabBox"){\n';
	allhtml+='divs[i].style.display="none";\n';
	allhtml+='}\n';
	allhtml+='else if(divs[i].className=="Glossary-content-area"){\n';
	allhtml+='divs[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='}\n';
	allhtml+='if(document.getElementsByTagName("address")!=undefined){'
	allhtml+='var addresses=document.getElementsByTagName("address"); \n';
	allhtml+='for (var i=0; i<addresses.length; i++) {\n';
	allhtml+='addresses[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='}\n';
	allhtml+='if(document.getElementById("drc")!=null){';
	allhtml+='document.getElementsById("drc").style.display="block";} 	\n';
	allhtml+='if(document.getElementsByTagName("dd")!=undefined){';
	allhtml+='var ddss=document.getElementsByTagName("dd"); 	\n';
	allhtml+='for (var i=0; i<ddss.length; i++) {\n';
	allhtml+='ddss[i].style.display="block";\n';
	allhtml+='}\n';
	allhtml+='}\n';
	allhtml+='</script>\n';
	allhtml+='<style type="text/css">\n';
	allhtml+='.TabContent,.BoxPatternA,div.TabListContentBox,address {display:block;}\n';
	allhtml+='.HorizontalTabNavi,#GlobalTabContent,.tabSubNav2 {display:none;}\n';
	allhtml+='.TabContent address { border:0; border-bottom:1px solid #B6B6B6; clear:both; background:#FFFFFF; }\n';
	allhtml+='.TabContent { border:1px solid #B6B6B6; margin:-11px 0px 10px; padding:3px; display:block; clear:both; }\n';
	allhtml+='.TabContent .TabContent { border:0; margin:-11px -3px 10px; _margin:-11px -3px 10px;}\n';
	allhtml+='div.TabContentBox { border:0; padding:10px 0 0 }\n';
	allhtml+='.GlobalTabListContentLine { display:none }';
	allhtml+='div.TabContent { zoom: 1; }';
	allhtml+='div.TabContent p { page-break-inside: avoid; }';
	allhtml+='.hidden { display:block }\n';
	allhtml+='</style>\n';
	allhtml+='<script src="http://www.hds.com/assets/js/blogs-customuserctt.js" type="text/javascript"></script>\n';
	allhtml+='  <!-- START OF SmartSource Data Collector TAG -->\n';
	allhtml+='  <!-- Copyright (c) 1996-2009 WebTrends Inc.  All rights reserved. -->\n';
	allhtml+='  <!-- Version: 8.6.2 -->\n';
	allhtml+='  <!-- Tag Builder Version: 3.0  -->\n';
	allhtml+='  <!-- Created: 10/14/2009 5:25:17 PM -->\n';
	allhtml+='  <script src="http://www.hds.com/assets/js/blogs-webtrends.js" type="text/javascript"></script>\n';
	allhtml+='  <!-- ----------------------------------------------------------------------------------- -->\n';
	allhtml+='  <!-- Warning: The two script blocks below must remain inline. Moving them to an external -->\n';
	allhtml+='  <!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->\n';
	allhtml+='  <!-- ----------------------------------------------------------------------------------- -->\n';
	if(!isIE){
		allhtml+='  <script type="text/javascript">\n';
		allhtml+='var _tag=new WebTrends();\n';
		allhtml+='_tag.dcsGetId();\n';
		allhtml+='</script>\n';
		allhtml+='  <script type="text/javascript">\n';
		allhtml+='// Add custom parameters here.\n';
		allhtml+='//_tag.DCSext.param_name=param_value;\n';
		allhtml+='_tag.dcsCollect();\n';
		allhtml+='</script>\n';
	}
	allhtml+='  <noscript>\n';
	allhtml+='  <div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://sdc.hds.com/dcsgbjwzv00000wgezgbrwx60_8q1e/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.6.2"/></div>\n';
	allhtml+='  </noscript>\n';
	allhtml+='  <!-- END OF SmartSource Data Collector TAG -->\n';
	allhtml+='  <!-- +++++ Google START Tag  01.11.2008 +++++ -->\n';
	allhtml+='<script type="text/javascript" src="http://www.google-analytics.com/ga.js"></script>\n';
	if(!isIE){
		allhtml+='  <script type="text/javascript">\n';
		allhtml+='var pageTracker = _gat._getTracker("UA-870712-2");\n'; 
		allhtml+='pageTracker._initData();\n';
		allhtml+='pageTracker._trackPageview();\n';
		allhtml+='</script>\n';
	}
	allhtml+='  <!-- +++++ Google END Tag 01.11.2008  +++++ -->\n';
	allhtml+='</body></html>';
var newwindow = window.open('','preview','location=0,status=0,scrollbars=1,resizable=1,width=740,height=500');
newwindow.document.write(allhtml);
newwindow.focus(); 
newwindow.document.close();
if(isIE){
var _tag=new WebTrends();
_tag.dcsGetId();
_tag.dcsCollect();
var pageTracker=_gat._getTracker("UA-870712-2");
pageTracker._initData();
pageTracker._trackPageview(); 
}
}
