var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		pre_subscribe_over = newImage('/images/subscribe_over.png');
		pre_videos_over = newImage('/images/videos_over.png');
		pre_learn_more_over = newImage('/images/learn%20more_over.png');
		pre_download_over = newImage('/images/download_over.png');
		pre_about4_over = newImage('/images/about4_over.png');
		pre_products4_over = newImage('/images/products4_over.png');
		pre_support4_over = newImage('/images/support4_over.png');
		pre_partners4_over = newImage('/images/partners4_over.png');
		pre_contact4_over = newImage('/images/contact4_over.png');
		pre_register4_over = newImage('/images/register4_over.png');
		pre_webinar_over = newImage('/images/webinar_over.png');
		preloadFlag = true;
	}
}
function login1()
{
	if(document.login_form.user_name.value=="")
	{
		alert("Please enter the Login ID");
		document.login_form.user_name.focus();
		return false;
	}

	if(document.login_form.password.value=="")
	{
		alert("Please enter the password");
		document.login_form.password.focus();
		return false;
	}
	document.login_form.action="/scripts/check_password.php";
	document.login_form.submit();
	return false;
}
function changecase()
{
    document.login_form.user_name.value = document.login_form.user_name.value.toUpperCase();
}

document.write('<style type="text/css">#inner_div{position:relative;float:right;width:105px;padding-top:9px;margin-right:58px}#login_img{position:absolute;right:-25px;top:15px}#input_pass{margin-top:1px;}</style><!--[if IE 7]><style type="text/css">#inner_div{padding-top:7px;margin-right:28px;}input#login_img{right:0px;}#input_pass{margin-top:0px;}</style><![endif]--><!--[if IE 6]><style type="text/css">#inner_div{padding-top:7px;margin-right:17px;}input#login_img{right:-9px;}#input_pass{margin-top:0px;}</style><![endif]-->');

document.write('<table width="946" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0"><tr><td width="183"><a href="/index.html"><img src="/images/focus-logo-web.gif" alt="" width="194" height="77" border="0"></a></td><td align="right" wisdth="398" bgcolor="white"><form name="login_form" method="post" onSubmit="return login1();"><div style="padding-right:40px;top:2px;background:url(/images/login_with_holes.png) right no-repeat;background-position: 90% 10%"><div id="inner_div"><input type="text" name="user_name" style="height:15px; width:80px;font-size:9px;font-family:small fonts;padding:0px 0px 0px 0px;"><input type="password" name="password" style="height:15px; width:80px;font-size:9px;font-family:small fonts;padding:0px 0px 0px 0px;" id="input_pass" /><br/><input type="image" src="/images/bouttan.png"  id="login_img"  onMouseOver="this.src=\'/images/bouttan_over.png\'" onMouseOut="this.src=\'/images/bouttan.png\'"/></div><br /><br /><br /></div></form></td></tr></table>');

document.write('<table bgcolor="white" border="0" cellpadding="0" cellspacing="0"><tbody><tr valign="bottom"><td style="background-color: rgb(255, 255, 255);" nowrap="nowrap"> <a style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'about\',\'/images/about4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'about\',\'/images/about4.png\');this.style.color=\'#FFFFFF\';return true" href="http://www.avadhi.com/"></a> <a style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'about\',\'/images/about4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'about\',\'/images/about4.png\');this.style.color=\'#FFFFFF\';return true" href="http://www.avadhi.com/"><img id="about" src="/images/about4.png" alt="" name="about" width="143" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" nowrap="nowrap"> <a style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'products\',\'/images/products4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'products\',\'/images/products4.png\');this.style.color=\'#FFFFFF\';return true" href="/learn_more.html"></a> <a style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'products\',\'/images/products4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'products\',\'/images/products4.png\');this.style.color=\'#FFFFFF\';return true" href="/learn_more.html"><img id="products" src="/images/products4.png" alt="" name="products" width="116" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" nowrap="nowrap"><a onMouseOver="changeImages(\'support\',\'/images/support4_over.png\');return true" onMouseOut="changeImages(\'support\',\'/images/support4.png\');return true" href="/support.html"><img id="support" src="/images/support4.png" alt="" name="support" width="112" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" nowrap="nowrap"><a class="menu" style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'partners\',\'/images/partners4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'partners\',\'/images/partners4.png\');this.style.color=\'#FFFFFF\';return true" href="/partners.html"><img id="partners" src="/images/partners4.png" alt="" name="partners" width="116" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" nowrap="nowrap"><a onMouseOver="changeImages(\'contact\',\'/images/contact4_over.png\');return true" onMouseOut="changeImages(\'contact\',\'/images/contact4.png\');return true" href="/contactus.html"><img id="contact" src="/images/contact4.png" alt="" name="contact" width="134" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" nowrap="nowrap"><a onMouseOver="changeImages(\'register\',\'/images/register4_over.png\');return true" onMouseOut="changeImages(\'register\',\'/images/register4.png\');return true" href="/scripts/signup.php"><img id="register" src="/images/register4.png" alt="" name="register" width="158" height="43" border="0"></a></td></tr></tbody></table>');

/*
document.write('<table width="946" bgcolor="white" border="0" cellpadding="0" cellspacing="0"><tbody><tr> <td width="183"><a href="index.html"><img src="/images/focus-logo-web.gif" alt="" width="194" height="77" border="0"></a></td><td width="198"></td><td align="right" width="398"><div style="position:absolute; width:318px; top:2px; left: 764px;"><img src="/images/login_with_holes.png" width="200" height="50"><form name="login_form" onSubmit="return login1();"><div style="position:absolute; right:38px; top:7px; width:85px"><input type="text" name="user_name" style="height:16px; width:100%"><br><input type="text" name="password" style="height:16px; width:100%"/></div><input type="image" src="/images/bouttan.png" style="position:absolute; right:12px; top:14px"/></div></form></td></tr></tbody></table>');


document.write('<table bgcolor="#71a1bf" border="0" cellpadding="0" cellspacing="0"><tbody><tr>	<td style="background-color: rgb(255, 255, 255);" valign="middle" nowrap="nowrap"> <a class="menu" style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'about\',\'/images/about4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'about\',\'/images/about4.png\');this.style.color=\'#FFFFFF\';return true" href="http://www.avadhi.com/"><img id="about" src="/images/about4.png" alt="" name="about" width="143" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" valign="middle" nowrap="nowrap"> <a class="menu" style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'products\',\'/images/products4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'products\',\'/images/products4.png\');this.style.color=\'#FFFFFF\';return true" href="/learn_more.html"><img id="products" src="/images/products4.png" alt="" name="products" width="116" height="43" border="0"></a> </td><td style="background-color: rgb(255, 255, 255);" valign="middle" nowrap="nowrap"><a onMouseOver="changeImages(\'support\',\'/images/support4_over.png\');return true" onMouseOut="changeImages(\'support\',\'/images/support4.png\');return true" href="/support.html"><img id="support" src="/images/support4.png" alt="" name="support" width="112" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" valign="middle" nowrap="nowrap"><a class="menu" style="color: rgb(255, 255, 255);" onMouseOver="changeImages(\'partners\',\'/images/partners4_over.png\');this.style.color=\'#ffffff\';return true" onMouseOut="changeImages(\'partners\',\'/images/partners4.png\');this.style.color=\'#FFFFFF\';return true" href="/partners.html"><img id="partners" src="/images/partners4.png" alt="" name="partners" width="116" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" valign="middle" nowrap="nowrap"><a onMouseOver="changeImages(\'contact\',\'/images/contact4_over.png\');return true" onMouseOut="changeImages(\'contact\',\'/images/contact4.png\');return true" href="/contactus.html"><img id="contact" src="/images/contact4.png" alt="" name="contact" width="134" height="43" border="0"></a></td><td style="background-color: rgb(255, 255, 255);" valign="middle" nowrap="nowrap"><a onMouseOver="changeImages(\'register\',\'/images/register4_over.png\');return true" onMouseOut="changeImages(\'register\',\'/images/register4.png\');return true" href="/scripts/signup.php"><img id="register" src="/images/register4.png" alt="" name="register" width="158" height="43" border="0"></a></td></tr></tbody></table>');

*/

/*

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/////////////////////

var dat=new Date();

var arr=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");

var arr1=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");

var dat1=dat.getDate();
if(dat1<10)
{
dat1="0"+dat1;
}

var dat2=arr[dat.getMonth()];
var dat3=dat.getFullYear();
var dat4=arr1[dat.getDay()];

var dispdat=dat4+", "+dat2+" "+dat1+", "+dat3;

var tim1=dat.getHours();
var tim2=dat.getMinutes();
if(tim2<10)
{
	tim2="0"+tim2;
}
var disptim=tim1+" : "+tim2+"  Hrs";

document.write('<table width="770" border="0" cellspacing="0" cellpadding="0"><tr height="90px"><td valign="bottom"><a href="/home.html"><img src="/images/ind_r2_c1.gif" border="0" /></a></td><td valign="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td><form name="login_form" method="post" action="" onSubmit="return login1();"><table width="294" border="0" align="right" cellpadding="0" cellspacing="0"> <tr><td height="20" colspan="2"></td></tr><tr><td><img src="/images/login_images/login_id_r1_c1.jpg" alt="" name="login_id_r1_c1" width="110" height="70" border="0" id="login_id_r1_c1" /></td><td><table align="left" border="0" cellpadding="0" cellspacing="0" width="184"><tr><td><img src="/images/login_images/login_id_r1_c2.jpg" alt="" name="login_id_r1_c2" width="184" height="5" border="0" id="login_id_r1_c2" /></td></tr><tr><td><table align="left" border="0" cellpadding="0" cellspacing="0" width="184"><tr><td><table align="left" border="0" cellpadding="0" cellspacing="0" width="136"><tr><td align="center"><input name="user_name" type="text" style="	width: 120px;height:20px;color: #31383D;margin-bottom: 2px;" id="user_name" /></td></tr><tr><td align="center"><input name="password" type="password" style="width: 120px;height:20px;color: #31383D;margin-bottom: 2px;" id="password" /></td></tr></table></td><td><table align="left" border="0" cellpadding="0" cellspacing="0" width="48"><tr><td><img src="/images/login_images/login_id_r2_c3.jpg" alt="" name="login_id_r2_c3" width="48" height="8" border="0" id="login_id_r2_c3" /></td></tr><tr><td><table align="left" border="0" cellpadding="0" cellspacing="0" width="48"><tr><td><img src="/images/login_images/login_id_r3_c3.jpg" alt="" name="login_id_r3_c3" width="2" height="32" border="0" id="login_id_r3_c3" /></td><td><input type="image" src="/images/login_images/login_id_r3_c4.jpg" alt="" name="login_id_r3_c4" width="41" height="32" border="0" id="login_id_r3_c4" /></a></td><td><img src="/images/login_images/login_id_r3_c5.jpg" alt="" name="login_id_r3_c5" width="5" height="32" border="0" id="login_id_r3_c5" /></td></tr></table></td></tr><tr><td><img src="/images/login_images/login_id_r5_c3.jpg" alt="" name="login_id_r5_c3" width="48" height="9" border="0" id="login_id_r5_c3" /></td></tr></table></td></tr></table></td></tr><tr><td><img src="/images/login_images/login_id_r6_c2.jpg" alt="" name="login_id_r6_c2" width="184" height="16" border="0" id="login_id_r6_c2" /></td></tr></table></td></tr></table></form></td></tr></table></td></tr></table><br>');



document.write('<table border="0" cellpadding="0" cellspacing="0" width="621"><tr><td><a href="http://www.avadhi.com" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2_r1_c1\',\'\',\'/images/about_over.gif\',1);"><img src="/images/about.gif" alt="About Avadhi" name="menu2_r1_c1"  border="0" id="menu2_r1_c1" /></a></td><td><a href="/our_products.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2_r1_c2\',\'\',\'/images/product_over.gif\',1);"><img src="/images/product.gif" alt="Products" name="menu2_r1_c2" border="0" id="menu2_r1_c2" /></a></td><td><a href="/support.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2_r1_c3\',\'\',\'/images/supports_over.gif\',1);"><img src="/images/supports.gif" alt="Support" name="menu2_r1_c3"  border="0" id="menu2_r1_c3" /></a></td><td><a href="/contactus.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2_r1_c4\',\'\',\'/images/contact_over.gif\',1);"><img src="/images/contact.gif" alt="Contact us" name="menu2_r1_c4"  border="0" id="menu2_r1_c4" /></a></td><td><a href="/partner.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2_r1_c5\',\'\',\'/images/partners_over.gif\',1);"><img src="/images/partners.gif" alt="Partners" name="menu2_r1_c5"  border="0" id="menu2_r1_c5" /></a></td><td><a href="/scripts/signup.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'menu2_r1_c6\',\'\',\'/images/register_over.gif\',1);"><img src="/images/register.gif" alt="Partners" name="menu2_r1_c6" border="0" id="menu2_r1_c6" /></a></td></tr></table>');

*/
