function loadyoutube(a){document.getElementById("youtubebox").innerHTML='<div class="YouTubeMovieDiv" style="width:490px; height:300px; style="z-index:-2000"><object width="490" height="300"><param name="movie" value="http://www.youtube-nocookie.com/v/'+a+'&hl=en_US&fs=1&autoplay=1&rel=0"></param><param name="wmode" value="transparent"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/'+a+
'&hl=en_US&fs=1&autoplay=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="490" height="300"></embed></object></div>'}function getElementLeft(a){for(var b=0,b=a.offsetLeft,a=a.offsetParent;a!=null;)b=parseInt(b)+parseInt(a.offsetLeft),a=a.offsetParent;return b}function getElementTop(a){for(var b=0,b=a.offsetTop,a=a.offsetParent;a!=null;)b=parseInt(b)+parseInt(a.offsetTop),a=a.offsetParent;return b}
function Large(a,b,f,c){var g=460;if(document.body&&document.body.offsetWidth)g=document.body.offsetHeight;if(document.compatMode=="CSS1Compat"&&document.documentElement&&document.documentElement.offsetWidth)g=document.documentElement.offsetHeight;if(window.innerWidth&&window.innerHeight)g=window.innerHeight;var d=document.getElementById("imgbox"),e=document.createElement("img");e.src=b;e.style.width=f+"px";e.style.height=c+"px";f/=2;b=getElementTop(a)-c/2;a=getElementLeft(a)-f;b<15&&(b=15);a<15&&
(a=15);c=g-c-15;b>c&&(b=c);e.style.marginTop="2px";d.style.position="fixed";d.style.zIndex="200";d.style.top=b+"px";d.style.left=a+"px";d.style.borderStyle="solid";d.style.borderLeftWidth="3px";d.style.borderRightWidth="3px";d.style.borderTopWidth="1px";d.style.borderBottomWidth="1px";d.style.backgroundColor="black";d.style.visibility="visible";e.addEventListener?e.addEventListener("click",Out,!1):e.attachEvent("onclick",Out);d.innerHTML="";d.appendChild(e)}
function Out(){document.getElementById("imgbox").style.visibility="hidden"}function getExpDate(a,b,f){var c=new Date;if(typeof a=="number"&&typeof b=="number"&&typeof b=="number")return c.setDate(c.getDate()+parseInt(a)),c.setHours(c.getHours()+parseInt(b)),c.setMinutes(c.getMinutes()+parseInt(f)),c.toGMTString()};
