// JavaScript Document

function embedTopFlash()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="750" height="150">');
	document.write('<param name="movie" value="/flash/Banner.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="/flash/Banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="150" wmode="transparent"></embed>');
	document.write('</object>');
}

function Checkdata () 
{
	var problem = 'No';
			
	if (document.support.Name.value.length <= 0)
	{
		alert ("Enter your Name");
		document.support.Name.focus();
		problem = 'Yes';
	}
	
	if (document.support.Address.value.length <= 0)
	{
		alert ("Enter your Address");
		document.support.Address.focus();
		problem = 'Yes';
	}
	
	if (document.support.City.value.length <= 0)
	{
		alert ("Please Enter a City");
		document.support.City.focus();
		problem = 'Yes';
	}
	
	
	if (document.support.Zip.value.length <= 0)
	{
		alert ("Enter a Zip Code");
		document.support.Zip.focus();
		problem = 'Yes';
	}
	
	if (document.support.Phone.value.length <= 0)
	{
		alert ("Enter a Phone Number");
		document.support.Phone.focus();
		problem = 'Yes';
	}
	
	if (document.support.Email.value.length <= 0)
	{
		alert ("Please Enter an Email Address");
		document.support.Email.focus();
		problem = 'Yes';
	}
	
	if ((document.support.Service.value.length <= 0) || (document.support.Service.selectedindex.length <= 0))
	{
		alert ("Please Select a Service Type");
		document.support.Service.focus();
		problem = 'Yes';
	}	
	
	if (document.support.Model.value.length <= 0)
	{
		alert ("Please Enter a Brand/Model");
		document.support.Model.focus();
		problem = 'Yes';
	}
	
	if (document.support.SerialNumber.value.length <= 0)
	{
		alert ("Please Enter a Serial Number");
		document.support.SerialNumber.focus();
		problem = 'Yes';
	}
	
	if ((document.support.DeliveryType.value.length <= 0) || (document.support.DeliveryType.selectedindex.length <= 0))
	{
		alert ("Please Select a Delivery Type");
		document.support.DeliveryType.focus();
		problem = 'Yes';
	}	
			
	if (document.support.Request.value.length <= 0)
	{
		alert ("Please Enter a Request");
		document.support.Request.focus();
		problem = 'Yes';
	}
	
	if (problem == 'No') 
	{
		return true;
				
	} else {
			
		return false;
	}
}