function popup(URL) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=300,height=410,left = 690,top = 325');");
			}
			
function popupexp(URL,width1) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+width1+',height=410,left = 690,top = 325');");
			}	
			
			function popup2(URL,width1) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+width1+',height=450,left = 690,top = 325');");
			}
			
			function popupfaq(URL) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=410,left = 690,top = 325');");
			}
			
			
		    function modal(url) {
		    day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(url, '" + id + "', 'modal=yes,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=610,left = 120,top = 50');");
			}
		   
function popX(url,width1,height1) {
day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+width1+',height='+height1+',left = 10,top = 50');");
			}
			
function removeqt(textbox) {
		
    		var str = textbox.value;
    		if (str.indexOf("'") > -1) {
		      
		       alert("single quotes (') aren't accepted in the names and descriptions and have been removed");
		       while (str.indexOf("'") > -1) {
		             str = str.replace("'","`");
		       }
		       document.getElementById (textbox.id).value = str;
		     }
		   
		 }
	
