<!--

/*
 *
 * FUNCTIONS FOR NEW WEBSITE
 * www.mastercontent.com/CDB
 *
 */

winArgs = 'location=0,'
		+ 'menubar=0,'
		+ 'resizable=1,'
		+ 'scrollbars=1,'
		+ 'status=0,'
		+ 'titlebar=0,'
		+ 'toolbar=0,'
		+ 'hotkeys=0,'
		// for Navigator
		+ 'screenx=0,'
		+ 'screeny=0,'
		// for Explorer
		+ 'left=0,'
		+ 'top=0';

function wp( theURL ) 
{
	window.open( theURL, 'winPreview', 'width='+(screen.width/2)+',height='+(screen.height-85)+','+winArgs );
}

function wl( theURL, theNAME, theSIZE ) 
{
	window.open( theURL, theNAME, theSIZE+winArgs );
}

function wt( theURL ) 
{
	width = 620;
	height = 400;
	
	w_center = (screen.width/2)-(width/2);
	h_center = (screen.height/2)-(height/2);
	
	window.open( theURL, 'winTrans', 'width='+width+',height='+height+',location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,hotkeys=0,screenx='+w_center+',screeny='+h_center+',left='+w_center+',top='+h_center );
}

function accept_terms( formName ) 
{
	if (document.forms[formName].accept.checked != true) 
	{
		alert ('Sie müssen sich mit unseren Allgemeinen Geschäftsbedingungen\neinverstanden erklären und dies durch Ankreuzen bestätigen.\n');
		document.forms[formName].accept.focus();
		return false;
	}
	return true;
}

function accept_terms_en( formName ) 
{
	if (document.forms[formName].accept.checked != true) 
	{
		alert ('You must agree that you have read and\nunderstand our terms and conditions.\n');
		document.forms[formName].accept.focus();
		return false;
	}
	return true;
}

function fsubmit( formName ) 
{
	document.forms[formName].sbtn.disabled = true;
	return true;
}

// -->

