//use this file for js 
//generic pop up
function launchUpload(loc,w,h){
	var id = Math.round(Math.random()*1000);
	var numW = Number(w);
	var numH = Number(h);
	window.open(loc, id,"width="+numW+", height="+numH+", left=100, top=100, scrollbars=auto, toolbar=no, location=no, status=no, menubar=no, resizable=yes");
}

function DoCommand(pid){
IURCommand(
/* target_url          */  	 "http://registration.disney.co.uk",  
/* task               */      "login",
/* promotion_id    		*/	 pid,
/* bu                   */   "", 
/* next_url        */       	 "none", 
/* country           */     	 "",  
/* member_name			*/	 "",  
/* password          	*/	 ""
);
}

/* Smooth scrolling
   Changes links that link to other parts of this page to scroll
   smoothly to those links rather than jump to them directly, which
   can be a little disorienting.
   sil, http://www.kryogenix.org/
   v1.0 2003-11-11
   v1.1 2005-06-16 wrap it up in an object
*/
function pageJump(){
	window.scrollTo(0, 0);
}

	
