var thisWindowName = 'MAIN';

function showInfo(pInfo,pURL)
{	var awInfo;	var windowName = 'awInfo';
	if (pInfo == 'AGB')
	{	var URL = 'http://astroworld.net/legal/imprintC.asp';
		var xSize = 550; 
		var ySize = 435;
		var menubar = 0;
		var toolbar = 0;
		var resizable = 0;
		var scrollbars = 1;
		var yPos = 200;
		var status = 1;
	}
	
	if (pInfo == 'Info')
	{	var URL = pURL;
		var xSize = 600; 
		var ySize = 800;
		var menubar = 0;
		var toolbar = 0;
		var resizable = 1;
		var scrollbars = 1;
		var yPos = 50;
		var status = 0;
	}

	if ((parseInt(navigator.appVersion) >= 4 )) {
		xposition = eval(screen.width - xSize) / 2;
		yposition = yPos;} //eval(screen.height - ySize) / 2;}
	if (!scrollbars) scrollbars = 0;
	if (!status) var status = 0;

	var args = "width=" + xSize + ","
	    	+ "height=" + ySize + ","
	    	+ "location=0,"
			+ "menubar=" + menubar + ","
			+ "toolbar=" + toolbar + ","
			+ "resizable=" + resizable + ","
			+ "scrollbars=" + scrollbars + ","
			+ "status=" + status + ","
			+ "titlebar=0,"
			+ "hotkeys=0,"
			+ "screenx=" + xposition + ","  // NN Only
			+ "screeny=" + yposition + ","  // NN Only
			+ "left=" + xposition + ","     // IE Only
			+ "top=" + yposition;           // IE Only
	awInfo = window.open(URL, windowName, args); awInfo.focus();
}

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="protected content!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")

/***********************************************
* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
