document.write("<div id=\"popUpDiv\">");
document.write("    <div id=\"overlays\"><\/div>");
document.write("    	<div id=\"message\">");
document.write("        	<div class=\"wrapper1\" id=\"contentDiv\">");
document.write("				<div class=\"greybox1\">");
document.write("    				<div style=\"float:left;\">");
document.write("        				<form action=\"send-enquiry.php\" id=\"EnquiryForm\" method=\"post\" name=\"EnquiryForm\" onsubmit=\"return Validate()\">");
document.write("                    		<div style=\"width:373px; float:left;\">                            ");
document.write("                                              ");
document.write("                    			<div style=\"float:left; \">");
document.write("                                ");
document.write("                                    <div style=\"font-family:Tahoma; font-size:18px; font-weight:bold; color:#fff; width:333px; padding:0 8px 20px 11px; float:left; background:url(images\/popup_bg.png) no-repeat top;\">");
document.write("                                    <div style=\" float:right; padding-top:20px; padding-right:10px; text-align:left; z-index:10; \"><a onclick=\"hidePopUpDiv()\"><img src=\"images\/close.png\" title=\"Close\" alt=\"Close\" border=\"0\"\/><\/a>                                    <\/div><\/div>");
document.write("                                    ");
document.write("                                  <div style=\"width:352px; float:left; color:#000; background:url(images\/brdr.jpg) repeat-y #fff;\">");
document.write("                                <div class=\"_tableInner22\">");
document.write("                                    <div class=\"_emailpwdlogin\"><br \/>");
document.write("                                      <table width=\"499\">");
document.write("                                        <tbody>");
document.write("                                          <tr>");
document.write("                                          	<td width=\"15\">&nbsp;<\/td>");
document.write("                                            <td width=\"112\" align=\"left\">Name<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <input name=\"aName\" id=\"aName\" type=\"text\" size=\"26\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Email ID<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <input name=\"aEmail\" id=\"aEmail\" type=\"text\" size=\"26\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          ");
document.write("                                          ");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>");
document.write("                                            <td width=\"112\" align=\"left\">Phone No<\/td>");
document.write("                                            <td width=\"348\">");
document.write("                                            <input name=\"aPhone\" maxlength=\"20\" id=\"aPhone\" type=\"text\" size=\"26\" onkeyup=\"valid1(this)\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          ");
document.write("                                           <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>");
document.write("                                            <td width=\"112\" align=\"left\">Mobile<\/td>");
document.write("                                            <td width=\"348\">");
document.write("                                            <input name=\"aMobile\" maxlength=\"20\" id=\"aMobile\" type=\"text\" size=\"26\" onkeyup=\"valid1(this)\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          ");
document.write("                                           <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Course Completed<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <input name=\"aCourse\" id=\"aCourse\" type=\"text\" size=\"26\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          ");
document.write("                                           <tr>");
document.write("                                           <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Year of Passing<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <select style=\"width:182px;\" name=\"aYear\" id=\"aYear\" type=\"text\" \/>");
document.write("                                            <option value=\"select\" selected=\"selected\">--Select--<\/option>");
document.write("                                            <option value=\"2000\">2000<\/option>");
document.write("                                            <option value=\"2001\">2001<\/option>");
document.write("                                            <option value=\"2002\">2002<\/option>");
document.write("                                            <option value=\"2003\">2003<\/option>");
document.write("                                            <option value=\"2004\">2004<\/option>");
document.write("                                            <option value=\"2005\">2005<\/option>");
document.write("                                            <option value=\"2006\">2006<\/option>");
document.write("                                            <option value=\"2007\">2007<\/option>");
document.write("                                            <option value=\"2008\">2008<\/option>");
document.write("                                            <option value=\"2009\">2009<\/option>");
document.write("                                            <option value=\"2010\">2010<\/option>");
document.write("                                            <\/select>");
document.write("                                          <\/tr>");
document.write("                                          ");
document.write("                                           <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Course Interested<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <select style=\"width:182px;\" name=\"aInterested\" id=\"aInterested\" type=\"text\" \/>");
document.write("                                            <option value=\"select\" selected=\"selected\">--Select--<\/option>");
document.write("                                            <option value=\"1\">MSC in Multimedia Technologies<\/option>");
document.write("                                            <option value=\"2\">MA in Multimedia<\/option>");
document.write("                                            <option value=\"3\">BSc Animation and Film Making<\/option>");
document.write("                                            <option value=\"4\">BSC in Multimedia Technologies<\/option>");
document.write("                                            <option value=\"5\">BA in Multimedia<\/option>");
document.write("                                            <option value=\"6\">Advanced Diploma in Digital Animation & VFX<\/option>");
document.write("                                            <option value=\"7\">Advanced Diploma in Multimedia<\/option>");
document.write("                                            <option value=\"8\">Diploma in Broadcast Animation<\/option>");
document.write("                                            <option value=\"9\">Diploma in Classical Animation<\/option>");
document.write("                                            <option value=\"10\">Diploma in Digital Film Making<\/option>");
document.write("                                            <option value=\"11\">Certificate Program in Final Cut Studio<\/option>");
document.write("                                            <option value=\"12\">Certificate in Architectural Visulisation<\/option>");
document.write("                                            <option value=\"13\">Certificate in 3D Studio Max<\/option>");
document.write("                                            <option value=\"14\">Certificate in MAYA<\/option>");
document.write("                                            <option value=\"15\">Certificate in Editing & Compositing<\/option>");
document.write("                                            <option value=\"16\">Certificate in Graphic Designing<\/option>");
document.write("                                            <option value=\"17\">Certificate in Web Designing<\/option>");
document.write("                                            <\/select>");
document.write("                                            ");
document.write("                                            <\/td>");
document.write("                                         <\/tr>");
document.write("                                          ");
document.write("                                          ");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Address<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <textarea name=\"aAddress\" id=\"aAddress\"><\/textarea><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Enquiry<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <textarea name=\"enquiry\" id=\"enquiry\"><\/textarea><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><br \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Security Image<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <div align=\"center\" id=\"BotBootInputImage1\" class=\"captcha\" style=\"width:145px;\"><\/div>");
document.write("                                                <div style=\"float:left; width:18px; text-align:right;\">");
document.write("                                                <a href=\"javascript:newSpeciman1()\"><img src=\"images\/refresh.gif\" alt=\"Refresh\" width=\"18\" height=\"18\" border=\"0\" \/><\/a>");
document.write("                                                <\/div><\/td>");

document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">Security Code<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <input type=\"text\" name=\"BotBootInput1\" id=\"BotBootInput1\" class=\"input-Tbox\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><br \/><\/td>");
document.write("                                          <\/tr>");


document.write("                                          <tr>");
document.write("                                          	<td>&nbsp;<\/td>	");
document.write("                                            <td width=\"112\" align=\"left\">&nbsp;<\/td>");
document.write("                                            <td width=\"348\">   ");
document.write("                                            <input type=\"submit\" value=\"Submit\" name=\"submit\" \/>&nbsp;<input type=\"reset\" name=\"Submit\" id=\"reset\" value=\"Reset\" \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                          <tr>");
document.write("                                            <td colspan=\"3\" align=\"left\"><br \/><\/td>");
document.write("                                          <\/tr>");
document.write("                                        <\/tbody>");
document.write("                                      <\/table>");
document.write("                                    <\/div>");
document.write("                                    <\/div>");
document.write("                                <\/div>");
document.write("                            <div style=\"width:635px; float:left; \"><img src=\"images\/popup_bottom.png\"  border=\"0\" \/><\/div>");
document.write("                         <\/div>");
document.write("                         <\/div>");
document.write("        				<\/form>");
document.write("        						<div style=\"clear:both\"><\/div>");
document.write("				  <\/div>");
document.write("			  <\/div>");
document.write("   		  <\/div>");
document.write("	 <\/div>");
document.write("		<\/div>");


    function sendFriendRequest(){
      
        document.getElementById('popUpDiv').style.display = 'block';
        document.getElementById('popUpDiv').style.visibility = 'visible';
//        ShowDiv(1);
    }
	 function hidePopUpDiv() {
        document.getElementById('popUpDiv').style.display = 'none';
        document.getElementById('popUpDiv').style.visibility = 'hidden';
    }
	
	
	
	document.write("<div id=\"popUpDivY9\">");
document.write("    <div id=\"overlays\"><\/div>");
document.write("    	<div id=\"message\">");
document.write("        	<div class=\"wrapper9\" id=\"contentDiv\">");
document.write("				<div style=\"float:left; width:250px; border:1px solid #ccc; background:#F3F3F3;\">");
document.write("	<div align=\"right\" style=\"padding:10px 10px 0 0\"><a onclick=\"hidePopUpDiv9()\" title=\"Close\"><img src=\"images\/close.png\" border=\"0\" alt=\"\" \/><\/a><\/div>");
document.write("    <div style=\"float:left; width:210px; padding:20px; padding-top:0;\">");
document.write("	<div style=\"float:left; width:210px; padding-bottom:10px;\">Please fill the form to start Download<\/div>");
document.write("    <div style=\"float:left; width:210px;\">");
document.write("    	<form action=\"downpdf.php\" method=\"post\" onsubmit=\"return fenq45()\">");
document.write(" <input type=\"hidden\" value=\"test\" name=\"test\" \/> ");
document.write("                                    <div style=\"margin-bottom:5px; width:200px; float:left;\">");
document.write("                                        <input type=\"text\" id=\"name\" maxlength=\"75\" name=\"name\" value=\"Name*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"Name\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                    <\/div>");
document.write("                                    <div style=\"margin-bottom:5px; width:200px; float:left;\">");
document.write("                                        <input type=\"text\" id=\"semail\" maxlength=\"75\" name=\"semail\" value=\"Email*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"Email\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                        <input type=\"text\" id=\"amob\" maxlength=\"75\" name=\"amob\" value=\"Mobile*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"Mobile\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                        <input type=\"text\" id=\"city\" maxlength=\"75\" name=\"city\" value=\"City*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"City\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                    <\/div>");
document.write("            <input type=\"submit\" name=\"headache\" id=\"headache\" value=\"Download\" \/>");
document.write("        <\/form>");
document.write("    <\/div>");
document.write("    <\/div>");
document.write("<\/div>");
document.write("            <\/div>");
document.write("        <\/div>");
document.write("<\/div>");	

	document.write("<div id=\"popUpDivYdwnFcp\">");
document.write("    <div id=\"overlays\"><\/div>");
document.write("    	<div id=\"message\">");
document.write("        	<div class=\"wrapperdwnFcp\" id=\"contentDiv\">");
document.write("				<div style=\"float:left; width:250px; border:1px solid #ccc; background:#F3F3F3;\">");
document.write("	<div align=\"right\" style=\"padding:10px 10px 0 0\"><a onclick=\"hidePopUpDivdwnFcp()\" title=\"Close\"><img src=\"images\/close.png\" border=\"0\" alt=\"\" \/><\/a><\/div>");
document.write("    <div style=\"float:left; width:210px; padding:20px; padding-top:0;\">");
document.write("	<div style=\"float:left; width:210px; padding-bottom:10px;\">Please fill the form to start Download<\/div>");
document.write("    <div style=\"float:left; width:210px;\">");
document.write("    	<form action=\"downfcp.php\" method=\"post\" onsubmit=\"return downFcp()\">");
document.write(" <input type=\"hidden\" value=\"test\" name=\"test\" \/> ");
document.write("                                    <div style=\"margin-bottom:5px; width:200px; float:left;\">");
document.write("                                        <input type=\"text\" id=\"fcpname\" maxlength=\"75\" name=\"fcpname\" value=\"Name*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"Name\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                    <\/div>");
document.write("                                    <div style=\"margin-bottom:5px; width:200px; float:left;\">");
document.write("                                        <input type=\"text\" id=\"fcpemail\" maxlength=\"75\" name=\"fcpemail\" value=\"Email*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"Email\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                        <input type=\"text\" id=\"fcpmob\" maxlength=\"75\" name=\"fcpmob\" value=\"Mobile*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"Mobile\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                        <input type=\"text\" id=\"fcpcity\" maxlength=\"75\" name=\"fcpcity\" value=\"City*\" style=\"width:197px;\" onfocus=\"if (this.value == this.defaultValue) this.value = '';\" title=\"City\" onblur=\"if (this.value == '') this.value=this.defaultValue;\" \/>");
document.write("                                    <\/div>");
document.write("            <input type=\"submit\" name=\"headache\" id=\"headache\" value=\"Download\" \/>");
document.write("        <\/form>");
document.write("    <\/div>");
document.write("    <\/div>");
document.write("<\/div>");
document.write("            <\/div>");
document.write("        <\/div>");
document.write("<\/div>");	



	document.write("<div id=\"popUpDivY10\">");
document.write("    <div id=\"overlays\" onclick=\"hidePopUpDiv10()\"><\/div>");
document.write("    	<div id=\"message\">");
document.write("        	<div class=\"wrapper10\" id=\"contentDiv\">");
document.write("				<div style=\"float:left; width:840px; border:1px solid #ccc; background:#F3F3F3;\">");
document.write("	<div align=\"right\" style=\"padding:10px 10px 0 0\"><a onclick=\"hidePopUpDiv10()\" title=\"Close\"><img src=\"images\/close.png\" border=\"0\" alt=\"\" \/><\/a><\/div>");
document.write("    <div style=\"float:left; width:800px; padding:20px; padding-top:0;\">");
document.write("    <div style=\"float:left; width:800px;\">");
document.write("    <img src=\"images\/signage.jpg\" border=\"0\" alt=\"\" \/><\/div>");
document.write("    <\/div>");
document.write("<\/div>");
document.write("            <\/div>");
document.write("        <\/div>");
document.write("<\/div>");	
	
	
	function sendFriendRequest10(){
      
        document.getElementById('popUpDivY10').style.display = 'block';
        document.getElementById('popUpDivY10').style.visibility = 'visible';
//        ShowDiv(1);
    }
	 function hidePopUpDiv10() {
        document.getElementById('popUpDivY10').style.display = 'none';
        document.getElementById('popUpDivY10').style.visibility = 'hidden';
    }
	function sendFriendRequest9(){
      
        document.getElementById('popUpDivY9').style.display = 'block';
        document.getElementById('popUpDivY9').style.visibility = 'visible';
//        ShowDiv(1);
    }
	 function hidePopUpDiv9() {
        document.getElementById('popUpDivY9').style.display = 'none';
        document.getElementById('popUpDivY9').style.visibility = 'hidden';
    }
	

	function sendFriendRequestdwnFcp(){
      
        document.getElementById('popUpDivYdwnFcp').style.display = 'block';
        document.getElementById('popUpDivYdwnFcp').style.visibility = 'visible';
//        ShowDiv(1);
    }
	 function hidePopUpDivdwnFcp() {
        document.getElementById('popUpDivYdwnFcp').style.display = 'none';
        document.getElementById('popUpDivYdwnFcp').style.visibility = 'hidden';
    }
	


function fenq45()
{
	if (document.getElementById("name").value == 'Name*' )
	{
		alert("Enter Name");
		document.getElementById("name").focus();
		return false;
	}		
	else if(!isValidEmail(document.getElementById("semail").value))
	{
		alert("Enter Valid Email Address!");
		document.getElementById("semail").focus();
		return false;
	}
	else if(!isValidNumber(document.getElementById("amob").value))
	{
		alert("Enter Valid Mobile Number!");
		document.getElementById("amob").focus();
		return false;
	}
	else if(document.getElementById("city").value == 'City*' )
	{
		alert("Enter City Name!");
		document.getElementById("city").focus();
		return false;
	}
	
	else
	{
		hidePopUpDiv9();
		return true;
	}
}


function downFcp()
{
	if (document.getElementById("fcpname").value == 'Name*' )
	{
		alert("Enter Name");
		document.getElementById("fcpname").focus();
		return false;
	}		
	else if(!isValidEmail(document.getElementById("fcpemail").value))
	{
		alert("Enter Valid Email Address!");
		document.getElementById("fcpemail").focus();
		return false;
	}
	else if(!isValidNumber(document.getElementById("fcpmob").value))
	{
		alert("Enter Valid Mobile Number!");
		document.getElementById("fcpmob").focus();
		return false;
	}
	else if(document.getElementById("fcpcity").value == 'City*' )
	{
		alert("Enter City Name!");
		document.getElementById("fcpcity").focus();
		return false;
	}
	
	else
	{
		hidePopUpDivdwnFcp();
		return true;
	}
}


function isblank(s)
{
    for(var i = 0; i < s.length; i++) {
        var c = s.charAt(i);
        if ((c != ' ') && (c != '\n') && (c != '\t')) return false;
    }
    return true;
}

function isValidEmail(e)
{	
	exp="^[a-z0-9][a-z0-9_\.-]{0,}[a-z0-9]@[a-z0-9][a-z0-9_\.-]{0,}[a-z0-9][\.][a-z0-9]{2,4}$";
	
	emailregexp = new RegExp(exp);

	result = e.match(emailregexp);
	if (result != null)
	{
		return true;
	}
	else
	{
		return false;
	}
}

function isValidNumber(numval)
{
	if (numval==""){return false;}
	var myRegExp = new RegExp("^[+()/#*-_]?[0-9]?[+()/#*-_]*[/.]?[0-9]*$");
	return myRegExp.test(numval);
}

function valid1(f) {
!(/^[ñ0-9( )+\/#-]*$/i).test(f.value)?f.value = f.value.replace(/[^ñ0-9( )+#\/-]/ig,''):null;
} 

