﻿<!--
	function opennewwindow(strURL, intfullscreen, intchannelmode, inttoolbar, intlocation, intdirectories, intstatus, intmenubar, intscrollbars, intresizable, intwidth, intheight, inttop, intleft)
	{
		if (inttop == null)
		{
			inttop = (screen.height - intheight) / 2; 
		}
		if (intleft == null)
		{
			intleft = (screen.width - intwidth) / 2; 
		}
		window.open(strURL,null,'fullscreen='+intfullscreen+', channelmode='+intchannelmode+', toolbar='+inttoolbar+', location='+intlocation+', directories='+intdirectories+', status='+intstatus+', menubar='+intmenubar+', scrollbars='+intscrollbars+', resizable='+intresizable+', width='+intwidth+', height='+intheight+', top='+inttop+', left='+intleft); 
			
	}
	
	function FitWindow()
	{ 
		var iWidth, iHeight;
		iWidth = document.images[0].width - iWidth; 
		iHeight = document.images[0].height - iHeight; 
		window.resizeBy(iWidth, iHeight); 
		self.focus(); 
	}
	
	function launch(url) {
		width=600
		height=400
		x=(640 - width)/2,y=(480 - height)/2;
		if (screen) { y=(screen.availHeight - height)/2; x=(screen.availWidth - width)/2; }
		if (screen.availWidth > 1800) { x=((screen.availWidth/2) - width)/2; }
		open(url, "", "width="+width+",height="+height+",screenX="+x+",screenY="+y+",top="+y+",left="+x+",toolbar=0,location=0,directories=0,status=1,menubar=0,resizable=0,scrollbars=no")
	}
-->


