// JavaScript Document
$(function(){ 
	$('a[rel="external"]').attr('target', '_blank'); 

});

function Form_VEN_Validator(theForm) {
	/*if ((theForm.IDTypeBien.options.selectedIndex==0) && (theForm.ville.value=="") && (theForm.PrixMin.value=="") && (theForm.PrixMax.value=="")) {
		alert("Veuillez specifier au moins un critere de recherche ! \"");
		return (false);
	}*/
	return (true);
}
function Form_LOC_Validator(theForm) {
	/*if ((theForm.IDTypeBien.options.selectedIndex==0) && (theForm.ville.value=="") && (theForm.PrixMin.value=="") && (theForm.PrixMax.value=="")) {
		alert("Veuillez specifier au moins un critere de recherche ! \"");
		return (false);
	}*/
	return (true);
}

function WMOpen(f,nom, h, w, scroll) {
  var PosLeft = screen.width;
  var PosTop = screen.height;
  PosLeft = ((PosLeft/2)-((w+10)/2))
  PosTop = ((PosTop/2)-((h+29)/2))
  var myPopup = window.open(f, nom, 'resizable=no,scrollbars=' + scroll + ',left=' + PosLeft + ',top=' + PosTop + ',menubar=no,width=' + w + ',height=' + h);
  if(myPopup.focus){myPopup.focus();}
 } 
