var fw_detail2 = 'toolbar=yes, width='+top.screen.width+', height='+top.screen.height+';directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no'
function full2win (url)
{
	Full2Window = window.open(url,"Full2Window", top.fw_detail2);
	Full2Window.focus();
}
function newin (url)
{
	nVogliaWindow = window.open(url,"nVogliaWindow","toolbar=no,width=300,height=100;,directories=no,status=no,scrollbars=no,resizable=no,menubar=no");
	nVogliaWindow.focus();
}

var fw_detail = 'toolbar=yes, width='+top.screen.width+', height=' +top.screen.height+';directories=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes'
function fullwin (url)
{
	FullWindow = window.open(url,"FullWindow", top.fw_detail);
	FullWindow.focus();
}

function newhelp (url)
{
	nhelpWindow = window.open(url,"nhelpWindow","toolbar=no,width=250,height=422;,directories=no,status=no,scrollbars=no,resizable=no,menubar=no");
	nhelpWindow.focus();
}

function MM_openBrWindow(url) {
	nBrWindow = window.open(url,"nBrWindow","toolbar=no,width=780,height=422;,directories=no,status=no,scrollbars=no,resizable=no,menubar=no");
	nBrWindow.focus();
}

function MM_openArtistWindow(url) {
	nBrWindow = window.open(url,"nArtistWindow","toolbar=no,width=800,height=435;,directories=no,status=no,scrollbars=yes,resizable=no,menubar=no");
	nBrWindow.focus();
}

function MM_openRemoteWindow(url) {
	nRWindow = window.open(url,"nRWindow","toolbar=no,width=350,height=100;,directories=no,status=no,scrollbars=no,resizable=no,menubar=no");
	nRWindow.opener=self;
	nRWindow.focus();
}

function MM_delayRemoteWindow(url) {
	// Delay Time
	setTimeout("MM_openRemoteWindow('remote/index.html')",5000);
}

function newin (url)
{
	dbMovWindow = window.open(url,"_blank","toolbar=no,width=280,height=240;,directories=no,status=no,scrollbars=no,resizable=no,menubar=no")
	dbMovWindow.focus();
}
function GetCookie(name)
{ 
	var cname = name + "=";               
	var dc = document.cookie;             

	if (dc.length > 0) 
	{
  		begin = dc.indexOf(cname);       
    	if (begin != -1) 
    	{ 		
    		begin += cname.length;       
      		end = dc.indexOf(";", begin);
      		if (end == -1) end = dc.length; 
  				return unescape(dc.substring(begin, end));
		}
	} return null;
}  
	
function OpenIt2() 
{
	var MsgWindow;
	win_name1=parseInt(Math.random()*1000000)+"win";
	MsgWindow=window.open('http://www.blackoctopus.com/register/registration.asp?voglia',win_name1,'scrollbars=yes,resizable=no,width=680,height=400,left=200,top=50');
	MsgWindow.focus();
}

function OpenIt1() 
{
	var MsgWindow;
	win_name2=parseInt(Math.random()*1000000)+"win";
	MsgWindow=window.open("http://www.blackoctopus.com/apps/oemim/layout/frameset.asp?domain=voglia",win_name2,'resizable=no,width=180,height=400,left=200,top=50');
	MsgWindow.focus();
}
