function sel(Url) {
	Url=document.productsgo.products[document.productsgo.products.selectedIndex].value;
	document.location = Url;
}

function newWindow(url) {
	var newwin;
	newwin = window.open(url,'RemoteSite','width=600,height=500,screenX=50,screenY=50,top=50,left=50,resizable=yes,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function fullWindow(url) {
        var newwin;
        newwin = window.open(url,'RemoteSite','width=825,height=545,screenX=50,screenY=50,top=50,left=50,resizable=no,toolbar=yes,scrollbars=no,location=yes')
        newwin.focus();
}

function openLink(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('exit.html' + url,'openlink','width=400,height=300,screenX=100,screenY=100,top=100,left=100,resizable=yes,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function openLinktemodalexit(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('temodalexit.html' + url,'openlink','width=400,height=300,screenX=500,screenY=800,top=100,left=100,resizable=no,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}
function openr_dexit(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('r_d.html' + url,'openlink','width=400,height=300,screenX=500,screenY=800,top=100,left=100,resizable=no,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function openLinkintronexit(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('intronexit.html' + url,'openlink','width=400,height=300,screenX=500,screenY=800,top=100,left=100,resizable=no,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function openLinkethyolexit(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('ethyolexit.html' + url,'openlink','width=400,height=300,screenX=500,screenY=800,top=100,left=100,resizable=no,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}
function openLinkintegrilinexit(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('integrilinexit.html' + url,'openlink','width=400,height=300,screenX=500,screenY=800,top=100,left=100,resizable=no,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}
function openLinkintron_a_exit(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('intron_a_exit.html' + url,'openlink','width=400,height=300,screenX=500,screenY=800,top=100,left=100,resizable=no,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function openLinkWithExitPage(exitPage, url) {
	var newwin;
	url = escape(url);	
	newwin = window.open(exitPage+'?' + url,'openlink','width=400,height=300,screenX=100,screenY=100,top=100,left=100,resizable=yes,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function openHomeLink(url) {
	var newwin;
	url = escape(url);
	newwin = window.open('exit.html' + url,'openlink','width=400,height=300,screenX=100,screenY=100,top=100,left=100,resizable=yes,toolbar=yes,scrollbars=yes,location=yes')
	newwin.focus();
}

function getHREF()  {
	var query = document.location.search.substring(1); 
	var pairs = query.split(); 
	var values;
	var url;
	for (var i=0; i < pairs.length; i++) 
	{
		values = pairs[i].split();
		url = values[0].substring(0,values[0].length);

	}
	document.location.href = unescape(url);
	if (document.layers) {
		window.outerWidth = 530;
		window.outerHeight = 130;
	}
	else {
		window.resizeTo(530,400);
	}
}
