pop=false;

function article(url) {

	if (pop) pop.close();

	htmlf="http://www.atelier-des-vents.com/articles/"+url;

	pop=window.open(htmlf,"","top=60, left=60, width=650, height=440, status=no, resizable=yes, scrollbars=yes");

	return false;
}


function fiche(codart) {
	if (pop) pop.close();

	pop=window.open("scripts/fiche.php?art="+codart,"","top=60, left=60, width=650, height=440, status=no, resizable=yes, scrollbars=yes");

}


function lienext(url) {
	if (pop) pop.close();

	pop=window.open(url,"","top=100, left=100, width=600, height=600, status=yes, resizable=yes, toolbar=yes, menubar=yes, location=yes, scrollbars=yes"); 
}

function openurl(url) {
	if (pop) pop.close();

	pop=window.open(url,"","top=60, left=60, width=600, height=600, status=yes, resizable=yes, scrollbars=yes, location=yes, menubar=yes, toolbar=yes");

}

function video(c) {
	if (pop) pop.close();

	pop=window.open("http://www.atelier-des-vents.com/flowplayer/videoss.php?code="+c,"","top=100, left=100, width=680, height=540, status=no, resizable=no, scrollbars=auto, location=no, menubar=no, toolbar=no");

}

function rollmenuh2(evt) {
	var type=(evt.type.indexOf("over")!=-1)?1:0;

	evt.srcElement.parentElement.style.backgroundColor=(type==1)?"#E0E0E0":"#EFEFEF";
}


function rollh(evt) {
	var type=(evt.type.indexOf("over")!=-1)?1:0;

	var img=(evt.srcElement)?evt.srcElement:evt.target;

	img.src="scripts/wttfmenh.php?14§"+img.alt+"§"+type;
}


function vide() {
	status="";
}

function nocontextmenu() {
	return false;
}

function lienext(url) {
	
	if (pop) pop.close();

	pop = window.open(url,"","height=480,width=640,status=yes,scrollbars=yes,resizable=yes,location=yes, menubar=yes");

}

//document.onmousemove=vide;
//document.oncontextmenu=nocontextmenu;

