function visa_bild(url) {							// 500, 500	nytt=window.open(url,'bild','top=5,left=150,height=640,width=640,scrollbars=yes');	if (window.focus) {nytt.focus()}}function visa_ljusbord() {	nytt=window.open('ljusbord.php','ljusbord','height=550,width=750,scrollbars=yes');	if (window.focus) {nytt.focus()}}function visa_skiss(url) {	nytt=window.open(url,'skissbild','height=500,width=600,scrollbars=yes');	if (window.focus) {nytt.focus()}}function visa_sokord(sokordurl) {	window.opener.location.href = sokordurl;//	parent.infostor.location = sokordurl;	this.close();}function bestall_bild(bilden) {	parent.kundkorgen.location = 'kundkorgen.php?bilden=' + bilden + '&bestall=ja';}function tabort_bild(bilden) {	opener.document.location = 'kundkorgen.php?bilden=' + bilden + '&bestall=nej';//	parent.kundkorgen.location = 'kundkorgen.php?bilden=' + bilden + '&bestall=nej';	window.location.href = 'ljusbord.php';}function check_email(email) {			var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;	if((filter.test(email))!=1&&email!="") {	alert(email + " is not an email address, please try again");	return false;	}}function rensa_formular() {	document.form1.soksatt.selectedIndex = 0;	while (document.form1.kategori.options.length) document.form1.kategori.options[0] = null;	document.form1.kategori.options[0] = new Option("alla underkategorier","");	document.form1.select.selectedIndex = 0;	document.form1.lan.selectedIndex = 0;	document.form1.utland.selectedIndex = 0;	document.form1.sokning.value = "";}