function checkk()
{
if ((document.form1.txtUsername.value == "") || (document.form1.txtUsername.value=="enter your e-mail"))
{
alert ("Enter your username");
document.form1.txtUsername.select();
return false;
}
if ((document.form1.txtPassword.value == "") || (document.form1.txtPassword.value == "password"))
{
alert ("Enter Password");
document.form1.txtPassword.select();
return false;
}
return true;
}


function focus_text()
	{
		
		if (document.txtEmail.value=="enter your e-mail")
			document.txtEmail.value="";
		
	}
	
function blur_text()
	{
		if (document.txtEmail.value=="")
			document.txtEmail.value="enter your e-mail";
			
	}
	
function focus_pass()
	{
		
		if (document.form1.txtPassword.value=="password")
			document.form1.txtPassword.value="";
		
	}
	
function blur_pass()
	{
		if (document.form1.txtPassword.value=="")
			document.form1.txtPassword.value="password";
			
	}

function OpenWindow(Filename,winwidth,winheight)
{
		var lswidth=screen.width;
		var lsheight=screen.height;
		var lheight=winheight;
		var lwidth,lheight;
		lsheight=lsheight-winheight;
		lsheight=lsheight/2;
		lswidth=lswidth-winwidth;
		lswidth=lswidth/2;	
		lheight=winheight;
		lwidth= winwidth;
		 	
		window.open(Filename,null,"height=" +  lheight + ",width=" + lwidth + ",top=" + lsheight + ",left=" + lswidth + ",toolbars=0,scrollbars=1,resizable=0,maximize=no");

}

function OpenSample(FileName)
{
var PageLocation = window.location.href;

		var lswidth=screen.width;
		var lsheight=screen.height;
		var lheight=768;
		var lwidth,lheight;
		lsheight=lsheight-768;
		lsheight=lsheight/2;
		lswidth=lswidth-1024;
		lswidth=lswidth/2;	
		lheight=768;
		lwidth=1024;
		window.open(FileName,"Sample","height=" +  lheight + ",width=" + lwidth + ",top=" + lsheight + ",left=" + lswidth + ",toolbars=0,scrollbars=1,resizable=0,maximize=no");

window.location.href = PageLocation 
}
function OpenIBSample(FileName)
{
var PageLocation = window.location.href;

		var lswidth=screen.width;
		var lsheight=screen.height;
		var lheight=738;
		var lwidth,lheight;
		lsheight=lsheight-740;
		lsheight=lsheight/2;
		lswidth=lswidth-1024;
		lswidth=lswidth/2;	
		lheight=740;
		lwidth=1024;
		window.open(FileName,"Sample","height=" +  lheight + ",width=" + lwidth + ",top=" + lsheight + ",left=" + lswidth + ",toolbars=0,scrollbars=1,resizable=0,maximize=no");

window.location.href = PageLocation 
}
function OpenWinodw(Filename,winwidth,winheight)
{
		var lswidth=screen.width;
		var lsheight=screen.height;
		var lheight=winheight;
		var lwidth,lheight;
		lsheight=lsheight-winheight;
		lsheight=lsheight/2;
		lswidth=lswidth-winwidth;
		lswidth=lswidth/2;	
		lheight=winheight;
		lwidth=winwidth;
		window.open(Filename,null,"height=" +  lheight + ",width=" + lwidth + ",top=" + lsheight + ",left=" + lswidth + ",toolbars=0,scrollbars=1,resizable=0,maximize=no");
}
//Added by Amitabh on 16-12-2008 for new raptivity demo..Start
function OpenIBSampleNDemo(FileName)
{
var PageLocation = window.location.href;

		//alert("Start");
		var lswidth=screen.width;
		var lsheight=screen.height;
		var lwidth,lheight;
		var lheight=448;
		lsheight=lsheight-448;
		lsheight=lsheight/2;
		lswidth=lswidth-650;
		lswidth=lswidth/2;	
		lheight=448;
		lwidth=640;
		//alert("End"+lwidth+":"+lheight);
		window.open(FileName,"Sample","height=" +  lheight + ",width=" + lwidth + ",top=" + lsheight + ",left=" + lswidth + ",toolbars=0,scrollbars=1,resizable=0,maximize=no");
window.location.href = PageLocation 
}
//Added by Amitabh on 16-12-2008 for new raptivity demo..End
  function f1(content)
	{
	   document.getElementById(content).style.display="block";
	}
	
    function f2(content)
	{ 
	   document.getElementById(content).style.display="none";
	}
	
	function f3(content)
	{
		document.getElementById(content).style.display="none";
	}
	
	function createMenuBar()
{
	var menu12=document.getElementById("top-nav");
	if(menu12!="undefined")
	{
		menu12.innerHTML=" <table border=0 align=\"right\" valign=\"top\" >"+
							"<tr valign=\"top\">"+
							"<td width=\"70%\"align=\"left\" valign=\"top\">  "+
								"<DIV style=\"WIDTH: 80\" onMouseOut=f2('one')>"+
								"<DIV class=squarebox >"+
									"<DIV class=squareboxgradientcaption style=\"CURSOR: pointer; HEIGHT: 20px\" onMouseOver=f1('one') >"+
										"<DIV style=\"FLOAT: left\">About Us</DIV>"+
									"</DIV>"+
									"<DIV id=\"one\" class=squareboxcontentlast onMouseOver=f1('one') >"+
										"<table border=0 width=\"100%\">"+
										"<tr>"+
										"<td class=squareboxcontent><a href=Raptivity-platform.html>Home</a></td>"+
										"</tr>"+
										"<tr>"+
										"<td class=squareboxcontent><a href=about-us-platform.html>Company</a></td>"+
										"</tr>"+
										"<tr>"+
										"<td class=squareboxcontent><a href=executive-team-platform.html>Executive Team</a></td>"+
										"</tr>"+
										"<tr>"+
										"<td class=squareboxcontentlast><a href=contact-platform.html>Contact</a></td>"+
										"</tr>"+
										 "</table>"+
									"</DIV>"+							
								"</DIV> "+
								"</DIV>"+
							"</td>"+
						"<td width=\"30%\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>"+
						"</tr>"+
						"</table>";
						
	}
}
	
	
	