// JavaScript Document  //88bce0

function mmLoadMenus() {
  if (window.mm_menu_1104115607_0) return;
    window.mm_menu_1104115607_0 = new Menu("root",92,22,"Tahoma",12,"#000000","#FFFFFF","#FFFFFF","#1283CE","left","middle",3,0,250,-5,7,true,true,true,0,true,true);
  mm_menu_1104115607_0.addMenuItem("&nbsp;&nbsp;&nbsp;&nbsp;Overview","location='overview.html'");
  mm_menu_1104115607_0.addMenuItem("&nbsp;&nbsp;&nbsp;&nbsp;Team","location='team.html'");
  mm_menu_1104115607_0.addMenuItem("&nbsp;&nbsp;&nbsp;&nbsp;Investors","location='investors.html'");
   mm_menu_1104115607_0.hideOnMouseOut=true;
   mm_menu_1104115607_0.bgColor='#FFFFFF';
   mm_menu_1104115607_0.menuBorder=0;
   mm_menu_1104115607_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1104115607_0.menuBorderBgColor='#FFFFFF';

  window.mm_menu_1104165633_0 = new Menu("root",133,22,"Tahoma",12,"#000000","#FFFFFF","#FFFFFF","#1283CE","left","middle",3,0,250,-5,7,true,true,true,0,true,true);
  mm_menu_1104165633_0.addMenuItem("&nbsp;&nbsp;&nbsp;Advertiser&nbsp;Solutions","location='advertiser-sol.html'");
  mm_menu_1104165633_0.addMenuItem("&nbsp;&nbsp;&nbsp;Advertise&nbsp;with&nbsp;us","location='advertiser-sol.html#adve'");
   mm_menu_1104165633_0.hideOnMouseOut=true;
   mm_menu_1104165633_0.bgColor='#FFFFFF';
   mm_menu_1104165633_0.menuBorder=0;
   mm_menu_1104165633_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1104165633_0.menuBorderBgColor='#FFFFFF';

  window.mm_menu_1104170333_0 = new Menu("root",133,22,"Tahoma",12,"#000000","#FFFFFF","#FFFFFF","#1283CE","left","middle",3,0,250,-5,7,true,true,true,0,true,true);
  mm_menu_1104170333_0.addMenuItem("&nbsp;&nbsp;&nbsp;Publisher&nbsp;Solutions","location='publisher-sol.html'");
  mm_menu_1104170333_0.addMenuItem("&nbsp;&nbsp;&nbsp;Join&nbsp;Ozone&nbsp;Media","location='publisher-join.html'");
   mm_menu_1104170333_0.hideOnMouseOut=true;
   mm_menu_1104170333_0.bgColor='#FFFFFF';
   mm_menu_1104170333_0.menuBorder=0;
   mm_menu_1104170333_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1104170333_0.menuBorderBgColor='#FFFFFF';

mm_menu_1104170333_0.writeMenus();
} // mmLoadMenus()


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 select_show(l)
			{
				hidem();

				var id = l.value;

				if(id == '')
				{
					return;
				}

				document.getElementById(id).style.display = 'block';
			}

			function hidem()
			{
				var divs = document.getElementById("loc").getElementsByTagName("div");
				for (var i=0;i<divs.length;i++)
				{
					divs[i].style.display='none';
				}
			}
			window.onload = hidem;



function validate()
{
		if(document.adv.name.value=="")
		{
			alert("Enter your Name");
			document.adv.name.focus();
			return false;
		}
		
		if(document.adv.email.value == "")
		{
			alert("Enter your Email Id");
			document.adv.email.focus();
			return false;
		}
	
		if(!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.adv.email.value))
			{
				alert("Invalid E-mail Address! Please re-enter.");
				document.adv.email.value="";
				document.adv.email.focus();
				return (false);
			}

		
		if(document.adv.phone.value=="")
		{
			alert("Enter your Contact Number");
			document.adv.phone.focus();
			return false;
		}
		
		if(isNaN(document.adv.phone.value))
		{
			alert("Enter Numericals");
			document.adv.phone.focus();
			return false;
		}
		
		if(document.adv.comments.value=="")
		{
			alert("Enter your Comments");
			document.adv.comments.focus();
			return false;
		}
}

function validate1()
{
		if(document.pub.fname.value=="")
		{
			alert("Enter your First Name");
			document.pub.fname.focus();
			return false;
		}
		
		if(document.pub.lname.value=="")
		{
			alert("Enter your Last Name");
			document.pub.lname.focus();
			return false;
		}
		
		if(document.pub.comp.value=="")
		{
			alert("Enter your Company Name");
			document.pub.comp.focus();
			return false;
		}
		
		if(document.pub.add.value=="")
		{
			alert("Enter your Contact Address");
			document.pub.add.focus();
			return false;
		}
		
		
		
		if(document.pub.zip.value=="")
		{
			alert("Enter your zip Code");
			document.pub.zip.focus();
			return false;
		}
		
		if(isNaN(document.pub.zip.value))
		{
			alert("Enter Numericals");
			document.pub.zip.focus();
			return false;
		}
		
		if(document.pub.phone.value=="")
		{
			alert("Enter your Contact Number");
			document.pub.phone.focus();
			return false;
		}
		
		if(isNaN(document.pub.phone.value))
		{
			alert("Enter Numericals");
			document.pub.phone.focus();
			return false;
		}
		
			if(document.pub.email.value == "")
		{
			alert("Enter your Email Id");
			document.pub.email.focus();
			return false;
		}
	
		if(!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.pub.email.value))
			{
				alert("Invalid E-mail Address! Please re-enter.");
				document.pub.email.value="";
				document.pub.email.focus();
				return (false);
			}

		if(document.pub.city.value=="")
		{
			alert("Enter your City");
			document.pub.city.focus();
			return false;
		}
		
		
		if (document.pub.count.selectedIndex == 0)
    		{
        	alert ("Please select the Country.");
			document.pub.count.focus();
			return false;
        	/*valid = true;*/
    		}

		/*
		var vtype = document.pub.count.selectedIndex;
              if (vtype == 0)
              {
                  alert("Please select the Country!");
                  document.pub.count.focus();
                  return false;
              }*/
			  
			  
		
		if(document.pub.sname.value=="")
		{
			alert("Enter the Site Name");
			document.pub.sname.focus();
			return false;
		}
		
		if(document.pub.url.value=="")
		{
			alert("Enter the Site URL");
			document.pub.url.focus();
			return false;
		}
		
		if(document.pub.sdesc.value=="")
		{
			alert("Enter your Site Description");
			document.pub.sdesc.focus();
			return false;
		}
		
		if(document.pub.vis.value=="")
		{
			alert("Current Monthly Unique Visitors");
			document.pub.vis.focus();
			return false;
		}
		
		if(document.pub.view.value=="")
		{
			alert("Current Monthly Page Views");
			document.pub.view.focus();
			return false;
		}
		/*
		if(document.pub.pan.value=="")
		{
			alert("Enter your PAN Number");
			document.pub.pan.focus();
			return false;
		}
		
		if(document.pub.tax.value=="")
		{
			alert("Enter your Service Tax Number");
			document.pub.tax.focus();
			return false;
		}
		
		if(document.pub.pay.value=="")
		{
			alert("Payment in the Name of");
			document.pub.pay.focus();
			return false;
		}
		*/
		if (document.pub.ch01.checked == false)
		{
			alert ('Accept the Terms and Conditions of the Ozone Media Publisher Agreement');
			return false;
		}
		else
		{
			return true;
		}
		
}


