function check()
{
	if (document.myform.name.value == "")
	{
		alert("Please Enter your Name ");
		document.myform.name.focus();
		document.myform.name.select();
		return(false);
	}

//-----------Validation for E-mail Address -----------------------

	var str=document.myform.email.value

	if (document.myform.email.value == "")
	{
		alert("Blank E-mail: Please Enter Valid E-mail ");
		document.myform.email.focus();
		document.myform.email.select();
		return(false);
	}

	if (document.myform.email.value.indexOf("@",1) == -1)
	{
		alert("Please enter your Valid preferred E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return(false);
	}
	if (document.myform.email.value.indexOf("@") == 0)
	{
		alert("Invalid E-mail: E-mail cannot start with @ ");
		document.myform.email.focus();
		document.myform.email.select();
		return(false);
	}
	if (document.myform.email.value.indexOf(".") == 0)
	{
		alert("Please enter your Valid E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return(false);
	}
	if (document.myform.email.value.indexOf(".",1) == -1)
	{
		alert("Please enter your Valid preferred E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return(false);
	}
//------------E-mail  extra validation--------------------

	var posat=str.indexOf("@");
	var posdot=str.indexOf(".");
	var rposdot=str.lastIndexOf(".");

	if(rposdot==posdot)
	if((posdot < posat) || (posdot-posat < 3))
	{
		alert("Please enter your Valid E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return false;
	}

	if(str.charAt(str.length-1)==".")
	{
		alert("Please enter your Valid E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return false;
	}

	if(str.charAt(str.length-1)=="@")
	{
		alert("Please enter your Valid E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return false;
	}

	var j=0;
	for( var i=0;i<str.length;i++)
	{
		if(str.charAt(i) == "@")
		j++;
	}
	if(j > 1)
	{
		alert("Please enter your Valid E-mail address");
		document.myform.email.focus();
		document.myform.email.select();
		return false;
	}
return true;
}
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];}}
}

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 popup(url,w,h,scrollyes)
{
	var top  = (screen.height-h)/2;
	var left = (screen.width-w)/2;
	var customize = "toolbar=no,menubar=no,resizable=no,scrollbars="+scrollyes+",width="+w+",height="+h+",top="+top+",left="+left;
	window.open(url,'_blank',customize)
}
// RightClickMenu

function showmenuie5(){
		var rightedge=document.body.clientWidth-event.clientX
		var bottomedge=document.body.clientHeight-event.clientY
		if (rightedge<ie5menu.offsetWidth)
			ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
		else
			ie5menu.style.left=document.body.scrollLeft+event.clientX
		if (bottomedge<ie5menu.offsetHeight)
			ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
		else
			ie5menu.style.top=document.body.scrollTop+event.clientY
		ie5menu.style.visibility="visible"
		return false
}
function hidemenuie5(){
		ie5menu.style.visibility="hidden"
}
function highlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor="highlight"
			event.srcElement.style.color="white"
		}
}
function lowlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor=""
			event.srcElement.style.color="black"
		}
} 
function jumptoie5(){
		if (event.srcElement.className=="menuitems"){
			if (event.srcElement.url != ''){
				if (event.srcElement.getAttribute("target")!=null)
					window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
				else
					window.location=event.srcElement.url
			}
		}
}
// Right click menu-->

/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth=150
//Specify the marquee's height
var marqueeheight=98
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):


var marqueecontent="<font color=#425258>Adlabs<br>Ashmit Patel<br>Deepal Shaw<br>Drishti Garments<BR>Eros International<BR>Faizi Production<BR>Geeta Basra<BR>Gladrags<BR>Irfan Khan<BR>K Sera Sera Productions Ltd.<BR>Nisha Kothari<BR>Natural Garments<BR>Nostum Denim<BR>Quantum Movies<BR>Rajiv Khandelwal<BR>Ram Gopal Verma<BR>Sherlyn  Chopra<BR>Sameer Dharmaadhikari<br>Zayeed Khan<BR>Adlabs<br>Ashmit Patel<br>Deepal Shaw<br>Drishti Garments<BR>Eros International<BR>Faizi Production<BR>Geeta Basra<BR>Gladrags<BR>Irfan Khan<BR>K Sera Sera Productions.<BR>Nisha Kothari<BR>Natural Garments<BR>Nostum Denim<BR>Quantum Movies<BR>Rajiv Khandelwal<BR>Ram Gopal Verma<BR>Sherlyn  Chopra<BR>Sameer Dharmaadhikari<br>Zayeed Khan<BR>Adlabs<br>Ashmit Patel<br>Deepal Shaw<br>Drishti Garments<BR>Eros International<BR>Faizi Production<BR>Geeta Basra<BR>Gladrags<BR>Irfan Khan<BR>K Sera Sera Productions Ltd.<BR>Nisha Kothari<BR>Natural Garments<BR>Nostum Denim<BR>Quantum Movies<BR>Rajiv Khandelwal<BR>Ram Gopal Verma<BR>Sherlyn  Chopra<BR>Sameer Dharmaadhikari<br>Zayeed Khan<BR>Adlabs<br>Ashmit Patel<br>Deepal Shaw<br>Drishti Garments<BR>Eros International<BR>Faizi Production<BR>Geeta Basra<BR>Gladrags<BR>Irfan Khan<BR>K Sera Sera Productions Ltd.<BR>Nisha Kothari<BR>Natural Garments<BR>Nostum Denim<BR>Quantum Movies<BR>Rajiv Khandelwal<BR>Ram Gopal Verma<BR>Sherlyn  Chopra<BR>Sameer Dharmaadhikari<br>Zayeed Khan</font><BR>";


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=marqueeheight+8
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=marqueeheight+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
//window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed
else
cross_marquee.style.top=marqueeheight+8
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=marqueeheight+8
}
}

<!-- Begin
function showtip2(current,e,text){
  if (document.all&&document.readyState=="complete"){
    document.all.tooltip2.innerHTML='<marquee scrollamount=3 style="border:1px solid #222222;background-color:#111111;"  class="greytxt8">'+text+'</marquee>'
    document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
    document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop-10 
    document.all.tooltip2.style.visibility="visible"
}
  else if (document.layers){
    document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
    document.tooltip2.document.nstip.document.close()
    document.tooltip2.document.nstip.left=0
    currentscroll=setInterval("scrolltip()",100)
    document.tooltip2.left=e.pageX+10
    document.tooltip2.top=e.pageY+10
    document.tooltip2.visibility="show"
}
}
function hidetip2(){
  if (document.all)
    document.all.tooltip2.style.visibility="hidden"
    else if (document.layers){
    clearInterval(currentscroll)
    document.tooltip2.visibility="hidden"
}
}
//  End -->
