//if(parent.location.href!='http://www.mijnwinkelstraat.be/')

//{

//	parent.location.href='http://www.mijnwinkelstraat.be/';

//}



function set_display()

{

	document.getElementById('content_display').innerHTML = document.getElementById('content').innerHTML;

	document.getElementById('content').innerHTML = '';

}



function openadv()

{

	window.open('http://'+'www.'+'stripweb'+'.be','mywindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');

}



function check_mailtofriend()

{

	if(document.mailtofriend.elements['ToEmail'].value=='')

	{

		document.mailtofriend.elements['ToEmail'].style.backgroundColor = '#eef5ff';

		document.mailtofriend.elements['ToEmail'].focus();

	}

	else if(document.mailtofriend.elements['ToName'].value=='')

	{

		document.mailtofriend.elements['ToName'].style.backgroundColor = '#eef5ff';

		document.mailtofriend.elements['ToName'].focus();

	}

	else if(document.mailtofriend.elements['FromEmail'].value=='')

	{

		document.mailtofriend.elements['FromEmail'].style.backgroundColor = '#eef5ff';

		document.mailtofriend.elements['FromEmail'].focus();

	}

	else if(document.mailtofriend.elements['FromName'].value=='')

	{

		document.mailtofriend.elements['FromName'].style.backgroundColor = '#eef5ff';

		document.mailtofriend.elements['FromName'].focus();

	}

	else if(document.mailtofriend.elements['Message'].value=='')

	{

		document.mailtofriend.elements['Message'].style.backgroundColor = '#eef5ff';

		document.mailtofriend.elements['Message'].focus();

	}

	else

	{

		document.mailtofriend.submit();

	}

}



function check_opinion()

{

	if(document.opinion.elements['Naam'].value=='')

	{

		document.opinion.elements['Naam'].style.backgroundColor = '#eef5ff';

		document.opinion.elements['Naam'].focus();

	}

	else if(document.opinion.elements['Titel'].value=='')

	{

		document.opinion.elements['Titel'].style.backgroundColor = '#eef5ff';

		document.opinion.elements['Titel'].focus();

	}

	else if(document.opinion.elements['Mening'].value=='')

	{

		document.opinion.elements['Mening'].style.backgroundColor = '#eef5ff';

		document.opinion.elements['Mening'].focus();

	}

	else

	{

		document.opinion.submit();

	}

}
