	function feedBack(subject){
		openWinCentered("feedback", "feedback.php?subject=" + subject + "&" + Math.random(), 300, 400, "directories=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no");
	}
	function send_email(type,id ){
		openWinCentered("feedback", "http://www.forex-brokers-list.com/send_email_form.php?type=" + type + "&id=" + id  + "&" + Math.random(), 300, 400, "directories=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no");
	}
	function send_email1(from_e , email){
		openWinCentered("feedback", "http://www.forex-brokers-list.com/reSend_email_form.php?from_e=" + from_e + "&email=" + email + "&" + Math.random(), 300, 400, "directories=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no");
	}

	function nextStep(){
		openWinCentered("wizard", "http://www.forex-brokers-list.com/wizard/voipproviderslist.wizard.voip?" + Math.random(), 456, 640, "directories=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no");
	}
	
	function openWinCentered(name, loc, heightt, widthh, params)
	{  
		tp=Math.ceil((screen.height-heightt)/2);
		lf=Math.ceil((screen.width-widthh)/2);
		if (params.length > 0) params = "," + params;
		return window.open(loc,name,"width="+widthh+",height="+heightt+",top="+tp+",left="+lf+params);
	}
	
	function isValidEmail(email){
		return email.match(/^([-!#$%&\'*+\\.\/0-9=?A-Z^_`{|}~]+)@([-0-9A-Z]+\.)+([0-9A-Z]{2,4})$/i);
	}
	
	function openUrl(url){
		var url = url.replace(/^(http:\/\/)/i,"");
		window.open("http://"+url,"_new");
	}
	
	function keyCheck(){
		var obj = document.all.searchform;
		var err = [];
		var ok = true;
		if(obj.keywords.value.length < 3)
			err[err.length] = "ERROR #Forex-001\nKeyword must be minimum 3 characters lenght!";						
		
		if(err.length > 0){
			alert(err.join("\n\n"));
			return false;
		}
		document.all.searchform.submit(); 
	
	}