	function popCenterSizeNS(url,width,height,name) {
		var iW = (screen.availWidth - width) / 2;
		var iH = (screen.availHeight - height) / 2;
		var temp="width="+width+",height="+height+",left="+iW+",top="+iH+",resizable=0,scrollbars=0";
		window.open(url,name,temp);			 
	}
	
	function popCenterSize(url,width,height,name) {
		var iW = (screen.availWidth - width) / 2;
		var iH = (screen.availHeight - height) / 2;
		var temp="width="+width+",height="+height+",left="+iW+",top="+iH+",resizable=0,scrollbars=1";
		window.open(url,name,temp);			 
	}

	function popSetSize(url,width,height,name) {
		var temp="width="+width+",height="+height+",left=0,top=0,resizable=0,scrollbars=1";
		window.open(url,name,temp);		
	}
	
	function popSetSizeNS(url,width,height,name) {
		var temp="width="+width+",height="+height+",left=0,top=0,resizable=0,scrollbars=0";
		window.open(url,name,temp);		
	}
	
	function popup(url) {
		var temp="width=10,height=10,left=0,top=0,resizable=0,scrollbars=1" ;
		window.open(url,"µî·Ï",temp);
	}
		
	function popupNotScroll(url) {
		var temp="width=10,height=10,left=0,top=0,resizable=0,scrollbars=0" ;
		window.open(url,"µî·Ï",temp);
	}
	
	function popupQuestion(url,msg) {
		if(confirm(msg)) {
			var temp="width=10,height=10,left=0,top=0,resizable=0,scrollbars=0" ;
			window.open(url,"µî·Ï",temp);
		}
	}
	
	function pageReload() {
		self.location.reload();
		
	}

	function flashInsert(fn,w,h) 
	{	
	
	   document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+w+"' height='"+h+"'>");
	   document.write("<param name='movie' value='"+fn+"'>");
	   document.write("<param name='quality' value='high'>");
	   document.write("<embed src='"+fn+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'");
	   document.write(" width='"+w+"'");
	   document.write(" height='"+h+"'></embed>");
	   document.write("</object>");

	}
	