function over(btnname,imgname){
	if (document.images){
		document[btnname].src = imgname
	}
}
function out(btnname,imgname){
	if (document.images){
		document[btnname].src = imgname
	}
}
function prjwin(prjfile, prjname){
	var actprjwin = window.open(prjfile, prjname, "width=470, height=480,menubar=0,status=0,toolbar=0,resizable=1,scrollbars=1,screenX=10,screenY=20,left=10,top=20") 	
}
function suppwin(suppfile, supptitle){
	var actsuppwin = window.open(suppfile, supptitle, "width=620, height=480, menubar=0,status=0,toolbar=0,resizable=0,scrollbars=1,screenX=10,screenY=20,left=10,top=20") 	
}		
function presswin(file, prodshort, htmltitle){
	var actpresswin = window.open(file+"?prod="+prodshort+"&title="+htmltitle, "presse"+prodshort, "width=620, height=480, menubar=0,status=0,toolbar=0,resizable=0,scrollbars=1,screenX=10,screenY=20,left=10,top=20") 	
}		
function welschwarewin(wwfile, wwname, wwwidth, wwheight){
	var statusWin = "width="+wwwidth+", height="+wwheight+",menubar=0,status=0,toolbar=0,resizable=0,scrollbars=0,screenX=10,screenY=20,left=10,top=20"
	var actwwwin = window.open(wwfile, wwname, statusWin)
}
function pDBwin(wwfile, wwname){
	var statusWin = "width=600, height=400,menubar=1,status=0,toolbar=0,resizable=1,scrollbars=1,screenX=10,screenY=20,left=10,top=20"
	var actwwwin = window.open(wwfile, "projektDBwin", statusWin)
}
function molecule_viewer_win(mol_id, lang, wwwidth, wwheight){
	var statusWin = "width="+wwwidth+", height="+wwheight+",menubar=0,status=0,toolbar=0,resizable=0,scrollbars=0,screenX=10,screenY=20,left=10,top=20"
	if (lang == "e"){
		var actwwwin = window.open("../welschware/wpmoleculeviewer.php?lang="+lang+"&mol_id="+mol_id+"", "wpmoleculeviewer", statusWin)
	}else{
		var actwwwin = window.open("./welschware/wpmoleculeviewer.php?lang="+lang+"&mol_id="+mol_id+"", "wpmoleculeviewer", statusWin)
	}
	
}

	
						
						
						
						