function changeURL(){offset=window.location.href.indexOf(".html");offsetalt=window.location.href.indexOf(".alt");if(offsetalt>0){location.href=window.location.href.substring(0,offsetalt)+".html"}else{location.href=window.location.href.substring(0,offset)+".alt"+window.location.href.substring(offset)}}function validateURL(){location.href="http://validator.w3.org/check?uri="+window.location.href}function popWin(d,c,f,b,a,e){net=(document.layers&&true);widgetBuf=(net)?0:50;bWidth=(net)?top.innerWidth:parseInt(top.document.body.clientWidth);bHeight=(net)?top.innerHeight:parseInt(top.document.body.clientHeight);bLeft=(net)?top.screenX:parseInt(top.screenLeft);bTop=(net)?top.screenY:parseInt(top.screenTop);a=(a)?a:"auto";e=(e)?e:"yes";if(!bLeft){bLeft=0;bWidth=screen.width}if(!bTop){bTop=0;bHeight=screen.height}xer=bLeft+((bWidth/2)-f/2);yer=(bTop-widgetBuf)+((bHeight/2)-b/2);if(xer<2){xer=2}if(xer<2){xer=2}paramStr="width="+f+",height="+b+",screenX="+xer+",screenY="+yer+",left="+xer+",top="+yer+",dependent=1,directories=0,location=0,menubar=0,resizable="+e+",scrollbars="+a+",toolbar=0";top[c]=window.open(d,c,paramStr);top[c].focus()};
