function bookmarksite(title,url){if (window.sidebar)window.sidebar.addPanel(title, url, "");else if(window.opera && window.print){var elem = document.createElement('a');elem.setAttribute('href',url);elem.setAttribute('title',title);elem.setAttribute('rel','sidebar');elem.click();}else if(document.all)window.external.AddFavorite(url, title);} window.onload=show;function show(id) { var d = document.getElementById(id);for (var i = 1; i<=30; i++) {if (document.getElementById('subnav'+i)) {document.getElementById('subnav'+i).style.display='none'; } } if (d) { d.style.display='block';}}function mainnavsubnavLeftOffset() { if(document.getElementById('subnav'+1)) { if(document.documentElement.offsetWidth > 1000) document.getElementById('subnav'+1).style.left=Math.round(eval(((document.documentElement.offsetWidth/2)-500)+0)) + 'px'; else document.getElementById('subnav'+1).style.left=Math.round(0) + 'px'; } if(document.getElementById('subnav'+2)) { if(document.documentElement.offsetWidth > 1000) document.getElementById('subnav'+2).style.left=Math.round(eval(((document.documentElement.offsetWidth/2)-500)+207)) + 'px'; else document.getElementById('subnav'+2).style.left=Math.round(207) + 'px'; } } function reDo(){ window.location.reload() }window.onresize = reDo; function Doit(imgName,imgObjName){if (document.images){document.images[imgName].src = imgObjName;}} var fadeimages=new Array();fadeimages[0]=["/images/banner/1.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[1]=["/images/banner/2.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[2]=["/images/banner/3.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[3]=["/images/banner/4.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[4]=["/images/banner/5.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[5]=["/images/banner/6.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[6]=["/images/banner/7.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[7]=["/images/banner/8.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];fadeimages[8]=["/images/banner/9.png","https://pchcare.com/donate1.php","","Donate online to Prince County Hospital Foundation. Thank you for your support."];var fadebgcolor="";var fadearray=new Array();var fadeclear=new Array();var dom=(document.getElementById);var iebrowser=document.all;function fadeshow(theimages,fadewidth,fadeheight,borderwidth,delay,pause,displayorder){this.pausecheck=pause;this.mouseovercheck=0;this.delay=delay;this.degree=10;this.curimageindex=0;this.nextimageindex=1;fadearray[fadearray.length]=this;this.slideshowid=fadearray.length-1;this.canvasbase="canvas"+this.slideshowid;this.curcanvas=this.canvasbase+"_0";if(typeof displayorder!="undefined")theimages.sort(function(){return 0.5-Math.random();});this.theimages=theimages;this.imageborder=parseInt(borderwidth);this.postimages=new Array();for(p=0;p
');}else{document.write('
');}if(iebrowser&&dom||dom){this.startit();}else{this.curimageindex++;setInterval("fadearray["+this.slideshowid+"].rotateimage()",this.delay);}}function fadepic(obj){if(obj.degree<100){obj.degree+=10;if(obj.tempobj.filters&&obj.tempobj.filters[0]){if(typeof obj.tempobj.filters[0].opacity=="number"){obj.tempobj.filters[0].opacity=obj.degree;}else{obj.tempobj.style.filter="alpha(opacity="+obj.degree+")";}}else if(obj.tempobj.style.MozOpacity){obj.tempobj.style.MozOpacity=obj.degree/101;}else if(obj.tempobj.style.KhtmlOpacity){obj.tempobj.style.KhtmlOpacity=obj.degree/100;}else if(obj.tempobj.style.opacity&&!obj.tempobj.filters){obj.tempobj.style.opacity=obj.degree/101;}}else{clearInterval(fadeclear[obj.slideshowid]);obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")?obj.canvasbase+"_0":obj.canvasbase+"_1";obj.tempobj=iebrowser?iebrowser[obj.nextcanvas]:document.getElementById(obj.nextcanvas);obj.populateslide(obj.tempobj,obj.nextimageindex);obj.nextimageindex=(obj.nextimageindex<\/a>';picobj.innerHTML=slideHTML;}};fadeshow.prototype.rotateimage=function(){if(this.pausecheck==1){var cacheobj=this;}if(this.mouseovercheck==1){setTimeout(function(){cacheobj.rotateimage();},100);}else if(iebrowser&&dom||dom){this.resetit();var crossobj=this.tempobj=iebrowser?iebrowser[this.curcanvas]:document.getElementById(this.curcanvas);crossobj.style.zIndex++;fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50);this.curcanvas=(this.curcanvas==this.canvasbase+"_0")?this.canvasbase+"_1":this.canvasbase+"_0";}else{var ns4imgobj=document.images['defaultslide'+this.slideshowid];ns4imgobj.src=this.postimages[this.curimageindex].src;}this.curimageindex=(this.curimageindex bottom_roundedRect{radius:5}");$("#rightside").liquidCanvas("[border{color:#8ec7d9} fill{color:#fff}] => roundedRect{radius:5}");$("#rightsideheader").liquidCanvas("gradient{from:#fff; to:#000;} => roundedRect{radius:5}");$("#contentbox1").liquidCanvas("[fill{color:#3b94b6}] => roundedRect{radius:5}");$("#about").liquidCanvas("[fill{color:#3b94b6}] => roundedRect{radius:5}");$("#contentbox1header").liquidCanvas("gradient{from:#257ea1; to:#1c5f7a;} => roundedRect{radius:5}");$("#contentbox2").liquidCanvas("[fill{color:#a9a551}] => roundedRect{radius:5}");$("#contentbox2header").liquidCanvas("gradient{from:#a89a47; to:#8c803b;} => roundedRect{radius:5}");$("#contentbox3").liquidCanvas("[fill{color:#98c96e}] => roundedRect{radius:5}");$("#contentbox3header").liquidCanvas("gradient{from:#b0d091; to:#8bba5d;} => roundedRect{radius:5}");$("#contentbox4").liquidCanvas("[fill{color:#fbe28e}] => roundedRect{radius:5}");$("#contentbox4header").liquidCanvas("gradient{from:#fdd64b; to:#f2be03;} => roundedRect{radius:5}");$("#contentwrap").liquidCanvas("gradient{from:#97ccdc; to:#fff;} => roundedRect{radius:5}");$("#contentinnerwrap").liquidCanvas("[fill{color:#fff}] => roundedRect{radius:5}");$("#contentheader").liquidCanvas("gradient{from:#59b3cb; to:#3b93b5;} => roundedRect{radius:5}");});