//<![CDATA[
	var PopUp = function ( url, title, width, height, extendedparams )
	{
		( typeof( title ) == 'undefined' )? title = 'PopUp' : null;
		( typeof( width ) == 'undefined' )? width = window.outerWidth : null;
		( typeof( height ) == 'undefined' )? height = window.outerHeight : null;
		return ( ( extendedparams ) )? window.open(url,title,"width="+width+",height="+height+","+extendedparams) : window.open(url,title);
	}
	PopTo = function ( url, width, height, location, dependent, menubar, resizable, scrollbars, status, toolbar )
	{
		var left = ( 15 * ( (typeof(window.outerWidth)!=='undefined')? window.outerWidth : screen.availWidth ) / 100 );
		var top = ( 10 * ( (typeof(window.outerHeight)!=='undefined')? window.outerHeight : screen.availHeight ) / 100 );
		location = ( typeof( location ) == 'undefined' || location == false )? 'no' : 'yes';
		dependent = ( typeof( dependent ) == 'undefined' || dependent == false )? 'no' : 'yes';		
		menubar = ( typeof( menubar ) == 'undefined' || menubar == false )? 'no' : 'yes';		
		resizable = ( typeof( resizable ) == 'undefined' || resizable == false )? 'no' : 'yes';
		scrollbars = ( typeof( scrollbars ) == 'undefined' || scrollbars == false )? 'no' : 'yes';
		status = ( typeof( status ) == 'undefined' || status == false )? 'no' : 'yes';
		toolbar = ( typeof( toolbar ) == 'undefined' || toolbar == false )? 'no' : 'yes';
		( typeof( width ) == 'undefined' )? width = ( ( (typeof(window.outerWidth)!=='undefined')? window.outerWidth : screen.availWidth ) / 1.5 ) + 'px' : null;
		( typeof( height ) == 'undefined' )? height = ( ( (typeof(window.outerHeight)!=='undefined')? window.outerHeight : screen.availHeight ) / 1.5 ) + 'px' : null;
		PopUpMenu = new PopUp( url, '', width, height, 'location='+location+',dependent='+dependent+',menubar='+menubar+',resizable='+resizable+',scrollbars='+scrollbars+',status='+status+',toolbar='+toolbar+',left='+left+',top='+top );
	}
//]]>	