function Rcertify() { 
  popupWin = window.open('http://www.bbbonline.org/cks.asp?id=10201258173320730', 'Participant', 'location=yes,scrollbars=yes,width=550,height=300');
  window.name = 'opener'; 
}
function popUp(url) {
	sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=550');
	self.name = "mainWin"; 
}
function new_window(url)  {
	links = window.open(url, 'Link', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=1, width=325, height=370, left=330, top=160');
}
function newWindow(url,width,height){
	options = 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=1, width=' + width + ', height=' + height + ', left=330, top=160';
	tourWin = window.open(url, "win", options);
	self.name = "mainWin";
}

//scroll down window thingy
	var pop_Top= -131;
	var pop_Height=245; 
	var pop_UpDown=1;
	var pop_EndPoint=0;
	var pop_Hidden=0;	
	
	var rectH=185; //236 for shopcart
	var endVar=360; //220 for shopcart
	var tDelay = 19000;
	
	function pop_ViewAgain(){
		//replays the special window 
		pop_UpDown=1;
		pop_ShowSpecialNow();		
	}
	function pop_ShowSpecialNow(){	
		var ua=navigator.userAgent.toLowerCase()
		if ( (ua.indexOf("opera")==-1)&&((ua.indexOf("msie")!=-1)&&(ua.indexOf("windows")!=-1))||((ua.indexOf("msie 5")!=-1)&&(ua.indexOf("mac")!=-1)) ) {	
			pop_ClickSpecial.style.left=pop_ShowSpecial.style.left=((document.body.offsetWidth/2)-160)
			pop_PullDown();
		}
	}
	function pop_PullDown(){	
		if (((pop_Height<rectH)&&(pop_UpDown==0)) || ((pop_Height>3)&&(pop_UpDown==1))) {
			if(pop_Height==rectH){pop_ShowSpecial.style.display=""}
			(pop_UpDown==0)?pop_Height+=3:pop_Height-=3;
			(pop_UpDown==0)?pop_Top-=3:pop_Top+=3;
			pop_ShowSpecial.style.clip="rect(" + pop_Height + ",220," + rectH + ",0)";
			pop_ShowSpecial.style.top=pop_Top;
			setTimeout("pop_PullDown();",20);
		}else{
			if (pop_UpDown==1){
				pop_ShowSpecial.style.clip="rect(0,220," + rectH + ",0)";
				pop_ShowSpecial.style.top=114;
				pop_UpDown=0;
				pop_ClickSpecial.style.display='';			
				setTimeout("pop_PullDown();",tDelay); //pause the popup before hidding
			}else{
				pop_ShowSpecial.style.display='none';			
				pop_EndPoint=(document.body.offsetWidth/2)-160;
				pop_Hide();			
			}
		}
	}
	
	function pop_StartHide(){	
	//created by Mike to hide the scroll right away and start sliding button to right 
	pop_ShowSpecial.style.display='none';			
	pop_EndPoint=(document.body.offsetWidth/2)-160;
	pop_Hide();			
}
	
	function pop_Hide(){		
		if(pop_EndPoint<(document.body.offsetWidth-endVar)){
			pop_EndPoint+=5;
			pop_ClickSpecial.style.left=pop_EndPoint;
			setTimeout("pop_Hide();",20);
		}else{
			pop_Hidden = 1;
		}
	}