function noSpam(user) {

	var domain = 'rotoflux.com'
	location.href = 'mailto:'+user+'@'+domain ;

}

function setLang (sLang) {

	var url = "ajax.setlang.php?lang="+sLang ;
	if (document.all) document.frames["ifrbase"].location.href = url ;
	else if (document.getElementById && !document.all) document.getElementById("ifrbase").contentDocument.location.href = url ;


}

function zoomImgP(idp) {

 var url = "showimg.php?idp="+idp ; 
 zoomimg = window.open (url, 'zoomimg', 'width=810,height=640') ;
 zoomimg.focus() ;

}

function zoomGrafP(idp) {

 var url = "showgraf.php?idp="+idp ; 
 zoomgraf = window.open (url, 'zoomgraf', 'width=920,height=460') ;
 zoomgraf.focus() ;

}

function zoomExample(idp) {

 var url = "showexample.php?idp="+idp ; 
 zoomexample = window.open (url, 'zoomexample', 'width=1024,height=650,resizable=1') ;
 zoomexample.focus() ;

}

function zoomMeasures(idp,seq) {

 var url = "showmeasures.php?idp="+idp+"&seq="+seq ; 
 zoommes = window.open (url, 'zoommes', 'width=1024,height=760,scrollbars=1,resizable=1') ;
 zoommes.focus() ;

}

function gZoom(nr) {

	var url = "showzoom.php?id="+nr ; 
	gzoom = window.open (url, 'gzoom', 'width=1024,height=500,resizable=1') ;
	gzoom.focus() ;

}

function showgarmap(nr) {

	document.images["garmap"].src = "imgs/garmap-"+nr+".jpg" ;

}

function popprivacy() {

 var url = "privacy.php" ; 
 privacy = window.open (url, 'privacy', 'width=600,height=760,scrollbars=1,resizable=1') ;
 privacy.focus() ;

}