function NPdomyshow(b,a,f,e,d,c){$("#"+d).load(e,function(){domyshow(b,a,f,c)})}function domyshow(b,a,d,c){if(b=="fullscreen2"){$("#PopDivName",parent.document).html($("#PopDivName").html());if(window.parent.showPopup=="undefined"||window.parent.showPopup==null){window.showPopup(a,d,b)}else{window.parent.showPopup(a,d,b)}LoadVideoControlToTop(c)}if(b=="fullscreen"){$("#PopDivName",parent.document).html($("#PopDivName").html());if(window.parent.showPopup=="undefined"||window.parent.showPopup==null){window.showPopup(a,d,b)}else{window.parent.showPopup(a,d,b)}window.FitPic()}$(this).scrollTop($("#"+b).position().top)}function FitPic(){iWidth=700;iHeight=GetAvailableHeight();MinHeight=398;var a=(document.getElementById("popImgDisplayAd").width)*1;var b=(document.getElementById("popImgDisplayAd").height)*1;if(a>iWidth){a+=21;document.getElementById("DivpopImgDisplayAd").style.width=a+"px";a+=19;document.getElementById("fullscreen_printAboutInner").style.width=a+"px"}else{document.getElementById("fullscreen_printAboutInner").style.width=iWidth+"px"}document.getElementById("DivpopImgDisplayAd").style.overflow="auto"}function GetAvailableHeight(){if(screen.availHeight){var a=screen.availHeight;if(a>950){return Math.round((a/2)+(a/10))}else{return Math.round((a/2)-(a/10))}}else{return 350}}function PrintPosition(a,b,i,d){var k="toolbar=yes,location=no,directories=yes,menubar=yes,";k+="scrollbars=yes,width=650, height=600, left=100, top=25";var e=document.getElementById(a).innerHTML;var g=document.getElementById(b).innerHTML;var j=document.getElementById(i).innerHTML;var l=window.open("","",k);l.document.open();var h="<html><head><title>Job Description</title>";l.document.write(h);var c='<link href="../App_Themes/Default/GeneralStyleSheet.css" rel="stylesheet" type="text/css" />';l.document.write(c);var f='<link href="../App_Themes/Default/LandingPageStyleSheet.css" rel="stylesheet" type="text/css" />';l.document.write(f);l.document.write('</head><body onLoad="self.print()">');l.document.write('<div class="Planding PrintPosition">');l.document.write(e);l.document.write(" <br/>");l.document.write(g);l.document.write(" <br/>");l.document.write(" <br/>");l.document.write(j);l.document.write(" <br/>");l.document.write(" <p>");l.document.write('     <span class="grayText">Position ID: '+d+"</span>");l.document.write(" </p>");l.document.write("</div>");l.document.write("</body></html>");l.document.close();l.focus()}function gotoSendToFriend(a){window.open(a,"","toolbar=0,status=no,menubar=no,scrollbars=no,resizable=yes,width=700,height=450,left=300")};