
	function i(){}
	function browsercheck(){
		var chkb = window.navigator.userAgent;
		if (
			 chkb.indexOf('WebTV')!=-1 || 
			(
				 chkb.indexOf('Mozilla/4.')!=-1 &&
				 chkb.indexOf('compatible')==-1 &&
				 chkb.indexOf('Opera')==-1
				 ) ||
			 chkb.indexOf('Opera/6')!=-1 ||
			 chkb.indexOf('Opera 6')!=-1
			 ) {
			return false;
			}
		else{
			return true;
			}
		}

	function prepSpot(){
		if (initialStatus==0 && browsercheck() && (getStyleStatus(document.getElementById('idMainBody'), 'height')>0 || document.getElementById('idMainBody').clientHeight>0)){
			document.getElementById('idSpot1').style.display='none';
			document.getElementById('idSpot2').style.display='none';
			document.getElementById('idSpot3').style.display='none';
			document.getElementById('idSpot4').style.display='none';
			return true;
			}
		else {
			return false;
			}
		}

	function displaySpot(bstatus){
		if (bstatus) {
			var BodyHeight=getStyleStatus(document.getElementById('idMainBody'), 'height');
			var BodyMethod=1;
			if(BodyHeight>0){
				}
			else{
				BodyHeight= document.getElementById('idMainBody').clientHeight;
				BodyMethod=2;
				}
			if(BodyHeight>730){
				document.getElementById('idSpot1').style.display='block';
				}
			else{
				document.getElementById('idSpot1').style.display='none';
				}
			if(BodyHeight>950){
				document.getElementById('idSpot2').style.display='block';
				}
			else{
				document.getElementById('idSpot2').style.display='none';
				}
			if(BodyHeight>1100){
				document.getElementById('idSpot3').style.display='block';
				}
			else{
				document.getElementById('idSpot3').style.display='none';
				}
			if(BodyHeight>1300){
				document.getElementById('idSpot4').style.display='block';
				}
			else{
				document.getElementById('idSpot4').style.display='none';
				}
			
			}
		}
	
	function menuitem(intStatus,strElement){
		if (browsercheck()){
			if(intStatus==0){
				document.getElementById('id'+strElement+'DIV').style.display='block';
				document.getElementById('id'+strElement+'Sign').src='/images/menu/Minus.gif';
				intStatus=1;
				}
			else {
				document.getElementById('id'+strElement+'DIV').style.display='none';
				document.getElementById('id'+strElement+'Sign').src='/images/menu/Plus.gif';
				intStatus=0;
				}
			if (menuspreped){
				displaySpot(spotstatus);
				}
			}
		return intStatus;
		}
		
		
	function menuRoll(strImage,strStatus,strBrowser){
		if (!browsercheck()){
			}
		else if(strStatus=="On"){
			document.getElementById('id'+strImage+ 'IMG').src='/images/menu/'+strImage+ '-I.gif';
			}
		else{
			document.getElementById('id'+strImage+ 'IMG').src='/images/menu/'+strImage+ '.gif';
			}
		}
						
	function subSlide5(){
		document.getElementById('Slide5').style.bottom='190px';
		document.getElementById('Slide5a').style.bottom='179px';
		document.getElementById('Slide5b').style.bottom='0px';
		document.getElementById('Slide5b').style.visibility='visible';
		document.getElementById('More').style.visibility='hidden';
		if (navigator.userAgent.indexOf('Opera 6')>1 || navigator.userAgent.indexOf('pera/6')>0 ) {
			document.getElementById('Slide5').style.visibility='hidden';
			document.getElementById('Slide5a').style.visibility='hidden';
			}
		
		Id = window.setTimeout("subSlide5Back()",17000);
		}
	function subSlide5Back(){
		document.getElementById('Slide5').style.bottom='0px';
		document.getElementById('Slide5a').style.bottom='-1px';
		document.getElementById('Slide5b').style.visibility='hidden';
		document.getElementById('More').style.visibility='visible';
		if (navigator.userAgent.indexOf('Opera 6')>1 || navigator.userAgent.indexOf('pera/6')>0 ) {
			document.getElementById('Slide5').style.visibility='visible';
			document.getElementById('Slide5a').style.visibility='visible';
			}
		}

	function popUpNew(ASIN) {
		amznwin=window.open('http://buybox.amazon.com/exec/obidos/redirect?tag=yogisbehemot&link_code=qcb&creative=23424&camp=2025&path=/dt/assoc/tg/aa/xml/assoc/-/'+ASIN+'/yogisbehemot/ref=ac_bb3_','Amazon','location=yes,scrollbars=yes,status=yes,toolbar=yes,resizable=yes,width=380,height=450,screenX=10,screenY=10,top=10,left=10');
		}

	function popW3C(strLoc,strURI){
		var strURL;
		if(strLoc == 'CSS'){
			strURL='http://jigsaw.w3.org/css-validator/validator\?uri=http://KLBProductions.com'+strURI;
			}
		else{
			strURL='http://validator.w3.org/check\?uri=http://KLBProductions.com'+strURI;
			}
		window.open(strURL,'W3C','location=yes,scrollbars=yes,status=yes,toolbar=yes,resizable=yes,width=600,height=350,screenX=10,screenY=10,top=10,left=10');
		}

	function getStyleStatus(oEle, sProp){
		var p = 0;
		if(document.defaultView && document.defaultView.getComputedStyle){
			p = document.defaultView.getComputedStyle(oEle,'').getPropertyValue(sProp);
			}
		else if(oEle.currentStyle) {
			var a = sProp.split('-');
			sProp = a[0];
			for (var i=1; i<a.length; ++i) {
				c = a[i].charAt(0);
				sProp += a[i].replace(c, c.toUpperCase());
				}
			p = oEle.currentStyle[sProp];
			}
		if (sProp=="height"){
			if (p=="0px"){
				return 0;
				}
			else {
				return parseInt(p);
				}
			}
		else{
			return p;
			}
		}
