var gAutoPrint=true;function printSpecial(){if(document.getElementById!=null){var html="<HTML>\n<HEAD>\n";if(document.getElementsByTagName!=null){var headTags=document.getElementsByTagName("head");html+='\n<link rel="stylesheet" media="screen" href="/visitorsguide/include/css/peiplayCSS_print.css" type="text/css">\n';html+="\n</HE"+"AD>\n<BODY>\n";html+='<table width="100%">';html+='<tr><td colspan="2"><img src="/visitorsguide/assets/images/print_header.gif" height="135" width="600" /><br></t'+"d></t"+"r>";html+='<tr bgcolor="#EFEFEF"> <td colspan="2"><img src="/gif/1by1.gif" height="2" width="1" /><br></t'+"d></t"+"r>";html+='<tr><td colspan="2" align=right><br><i>www.gentleisland.com</i><br></t'+"d></t"+"r>";html+="</ta"+"ble>";}var printReadyElem=document.getElementById("printReady");if(printReadyElem!=null){html+=printReadyElem.innerHTML;var newHTML=html.replace("printer_friendly.gif","");html=newHTML;}else{alert("This page has not been configured for printing.");return ;}var pageLocation=document.location+"";html+='<table width="100%">';html+='<tr bgcolor="#EFEFEF"> <td colspan="2"><img src="/gif/1by1.gif" height="2" width="1" /><br></t'+"d></t"+"r>";html+='<tr><td><img src="/visitorsguide/assets/images/print_logo_bottom.gif" align="left" /></'+"td>";html+='<td width="90%">';html+="<b>This information has been taken from www.gov.pe.ca</b><br />";html+="<b>URL:</b> <i>"+pageLocation.replace("&","&amp;")+"</i><BR /><BR />";html+="</"+"td>";html+='<table width="75%"><tr><td><i>Photos and content copyright Tourism Prince Edward Island. All rights reserved.</'+"i></t"+"d></ti"+"r></ta"+"ble>";html+="</"+"tr>";html+="</ta"+"ble>";html+="<BR />";html+="\n</BO"+"DY>\n</HT"+"ML>";var printWin=window.open("","printSpecial");printWin.document.open();printWin.document.write(html);printWin.document.close();if(gAutoPrint){}}else{alert("Sorry, the print ready feature is only available in modern browsers.");}}function printSpecialf(){if(document.getElementById!=null){var html="<HTML>\n<HEAD>\n";if(document.getElementsByTagName!=null){var headTags=document.getElementsByTagName("head");html+='\n<link rel="stylesheet" media="screen" href="/visitorsguide/include/css/peiplayCSS_print.css" type="text/css">\n';html+="\n</HE"+"AD>\n<BODY>\n";html+='<table width="100%">';html+='<tr><td colspan="2"><img src="/visitorsguide/assets/images/print_header_f.JPG" height="104" width="600" /><br></t'+"d></t"+"r>";html+='<tr bgcolor="#EFEFEF"> <td colspan="2"><img src="/gif/1by1.gif" height="2" width="1" /><br></t'+"d></t"+"r>";html+='<tr><td colspan="2" align=right><br><i>www.douceurdelile.com</i><br></t'+"d></t"+"r>";html+="</ta"+"ble>";}var printReadyElem=document.getElementById("printReady");if(printReadyElem!=null){html+=printReadyElem.innerHTML;var newHTML=html.replace("printer_friendly_F.gif","");html=newHTML;}else{alert("This page has not been configured for printing.");return ;}var pageLocation=document.location+"";html+='<table width="100%">';html+='<tr bgcolor="#3e72ae"> <td colspan="2"><img src="/gif/1by1.gif" height="2" width="1" /><br></t'+"d></t"+"r>";html+='<tr><td><img src="/visitorsguide/assets/images/print_logo_bottom_f.gif" align="left" /></'+"td>";html+='<td width="90%">';html+="<b>Cette information est tir&eacute;e du site www.gov.pe.ca</b><br />";html+="<b>URL:</b> <i>"+pageLocation.replace("&","&amp;")+"</i><BR /><BR />";html+="</"+"td>";html+='<table width="75%"><tr><td><i>Droits d\'auteur pour les photos et le contenu - Tourisme &Icirc;le-du-Prince-&Eacute;douard. Tous droits r&eacute;serv&eacute;s.</'+"i></t"+"d></ti"+"r></ta"+"ble>";html+="</"+"tr>";html+="</ta"+"ble>";html+="<BR />";html+="\n</BO"+"DY>\n</HT"+"ML>";var printWin=window.open("","printSpecial");printWin.document.open();printWin.document.write(html);printWin.document.close();if(gAutoPrint){}}else{alert("Sorry, the print ready feature is only available in modern browsers.");}}function getHeaderImage(strSection){var intImageNumber=1;switch(strSection){case"about":intImageNumber=randomImage(1,7);break;case"fun":intImageNumber=randomImage(8,11);break;case"getting":intImageNumber=randomImage(12,14);break;case"places":intImageNumber=randomImage(15,16);break;case"things":intImageNumber=randomImage(17,22);break;case"home":intImageNumber=randomImage(23,25);break;default:intImageNumber=randomImage(1,25);}if(intImageNumber<10){intImageNumber="0"+intImageNumber.toString();}return"peiHead_"+intImageNumber.toString();}function randomImage(intMin,intMax){var intRandom=Math.round(Math.random()*(intMax-intMin))+intMin;return intRandom;}function fontUp(){dw_fontSizerDX.adjust(1);}function fontReset(){dw_fontSizerDX.reset();}function fontDown(){dw_fontSizerDX.adjust(-1);}function printSpecialContainer(){if(hdlang=="F"){printSpecialf();}else{printSpecial();}}sfHover=function(){if(document.all&&document.getElementById){var ieMat=document.createElement("iframe");var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){if(sfEls[i]){sfEls[i].onmouseover=function(){var ieUL=this.getElementsByTagName("ul")[0];if(ieUL){ieMat.style.width=ieUL.offsetWidth+"px";ieMat.style.height=ieUL.offsetHeight+"px";ieMat.style.display="block";ieUL.insertBefore(ieMat,ieUL.firstChild);ieUL.style.zIndex="99";}this.className+=" sfhover";};}sfEls[i].onmouseout=function(){var ieUL=this.getElementsByTagName("ul")[0];this.className=this.className.replace(new RegExp(" sfhover"),"");};}}};if(window.attachEvent){window.attachEvent("onload",sfHover);}