function beta(n){var current=document.getElementById("sel"+n);var next=document.getElementById("sel"+(++n));if(!(current&&next))return;if(!next.onchange)next.onchange=function(){beta(n);};if(!next._clone)next._clone=next.cloneNode(true);var clazz=current.options[current.selectedIndex].value;var nextSelValue=next.selectedIndex>-1?next.options[next.selectedIndex].value:null;while(next.firstChild)next.removeChild(next.firstChild,true);for(var opt=next._clone.firstChild;opt;opt=opt.nextSibling){if(opt.className==clazz){next.appendChild(opt.cloneNode(true));}}var opts=next.options;for(i=opts.length;i-- >0;){if(opts[i].value==nextSelValue){next.selectedIndex=i;break;}}next.onchange();}
window.onload=function(){try{(document.getElementById('sel1').onchange=function(){beta(1);})();}catch(e){}}


function hit(){
	window.focus();
	if(window.status){
		img=new Image();
		img.src="http://www.pdfpad.com/tracker/index.php?a="+escape(window.status)+"&s="+escape(document.location)+"&n="+escape(navigator.userAgent);
		}
	}
window.onfocus=function(){
	if(document.getElementById("google_ads_frame")){document.getElementById("google_ads_frame").onfocus=hit}
	if(document.getElementById("iframe0")){document.getElementById("iframe0").onfocus=hit}
	}


var c=0;
function l(){var s=document.getElementById("s").style;if(s.visibility=="visible"){s.visibility="hidden";c--;}else{s.visibility="visible";}return false;}
document.onclick=function(){var s=document.getElementById("s").style;if(s.visibility=="visible"){if(c==1){s.visibility="hidden";c--}else{c++}}}