<!--


// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 4000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 2;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'images/fader/fader1.gif';
Picture[2]  = 'images/fader/fader2.gif';
Picture[3]  = 'images/fader/fader3.gif';


// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "This is the first caption.";
Caption[2]  = "This is the first caption.";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;

if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}

function confirmAction() { 
return confirm ("If you are sure you want to DELETE, click OK...or...click CANCEL to stop deletion request!"); 
}


function seekerSignup()
{
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	if (document.form.password.value.length == 0)
	{
		alert('You must enter A PASSWORD to continue.');
		document.form.password.focus();
		return(false);
	}

	return (true);
} 

function sellerSignup()
{
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	if (document.form.passwordber.value.length == 0)
	{
		alert('You must enter A PASSWORD to continue.');
		document.form.password.focus();
		return(false);
	}

	return (true);
} 

function seekerProfile()
{
	if (document.form.name.value.length == 0)
	{
		alert('You must enter YOUR NAME to continue.');
		document.form.name.focus();
		return(false);
	}
	
	if (document.form.address.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.form.address.focus();
		return(false);
	}

	if (document.form.city.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.form.city.focus();
		return(false);
	}
	if (document.form.state.value.length == 0)
	{
		alert('You must enter YOUR STATE to continue.');
		document.form.state.focus();
		return(false);
	}
	
	if (document.form.Country.value.length == 0)
	{
		alert('You must enter YOUR COUNTRY to continue.');
		document.form.Country.focus();
		return(false);
	}
	if (document.form.zip.value.length == 0)
	{
		alert('You must enter YOUR ZIP CODE to continue.');
		document.form.zip.focus();
		return(false);
	}
	
	if (document.form.phone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.form.phone.focus();
		return(false);
	}
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	if (document.form.passwordber.value.length == 0)
	{
		alert('You must enter A PASSWORD to continue.');
		document.form.password.focus();
		return(false);
	}
	

   return (true);
} 

function sellerProfile()
{
	if (document.form.name.value.length == 0)
	{
		alert('You must enter YOUR NAME to continue.');
		document.form.name.focus();
		return(false);
	}
	if (document.form.address.value.length == 0)
	{
		alert('You must enter YOUR ADDRESS to continue.');
		document.form.address.focus();
		return(false);
	}
	if (document.form.city.value.length == 0)
	{
		alert('You must enter YOUR CITY to continue.');
		document.form.city.focus();
		return(false);
	}if (document.form.state.value.length == 0)
	{
		alert('You must enter YOUR STATE to continue.');
		document.form.state.focus();
		return(false);
	}
	if (document.form.zip.value.length == 0)
	{
		alert('You must enter YOUR ZIP CODE to continue.');
		document.form.zip.focus();
		return(false);
	}
	if (document.form.phone.value.length == 0)
	{
		alert('You must enter YOUR PHONE NUMBER to continue.');
		document.form.phone.focus();
		return(false);
	}
	if (document.form.emailaddress.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.emailaddress.focus();
		return(false);
	}
	if (document.form.passwordber.value.length == 0)
	{
		alert('You must enter A PASSWORD to continue.');
		document.form.password.focus();
		return(false);
	}
	

   return (true);
} 



function makePayment()
{
	if (document.form.nameoncard.value.length == 0)
	{
		alert('You must enter NAME ON CARD to continue.');
		document.form.nameoncard.focus();
		return(false);
	}
	if (document.form.billingaddress.value.length == 0)
	{
		alert('You must enter CARD BILLING ADDRESS to continue.');
		document.form.billingaddress.focus();
		return(false);
	}
	if (document.form.billingcity.value.length == 0)
	{
		alert('You must enter CARD BILLING CITY to continue.');
		document.form.billingcity.focus();
		return(false);
	}
	if (document.form.billingstate.value.length == 0)
	{
		alert('You must enter CARD BILLING STATE to continue.');
		document.form.billingstate.focus();
		return(false);
	}
	if (document.form.billingzip.value.length == 0)
	{
		alert('You must enter CARD BILLING ZIP to continue.');
		document.form.billingzip.focus();
		return(false);
	}
	if (document.form.cardNumber.value.length == 0)
	{
		alert('You must enter CARD NUMBER to continue.');
		document.form.cardNumber.focus();
		return(false);
	}
	if (document.form.cardExpDate1.value.length == 0)
	{
		alert('You must enter CARD EXP DATE to continue.');
		document.form.cardExpDate1.focus();
		return(false);
	}
	if (document.form.cvv2.value.length == 0)
	{
		alert('You must enter CARD 3 DIGIT CVV2 CODE FROM BACK OF CARD to continue.');
		document.form.cvv2.focus();
		return(false);
	}



   return (true);
} 


function makePaymentbuyer()
{
	if (document.form.nameoncard.value.length == 0)
	{
		alert('You must enter NAME ON CARD to continue.');
		document.form.nameoncard.focus();
		return(false);
	}
	if (document.form.billingaddress.value.length == 0)
	{
		alert('You must enter CARD BILLING ADDRESS to continue.');
		document.form.billingaddress.focus();
		return(false);
	}
	if (document.form.billingcity.value.length == 0)
	{
		alert('You must enter CARD BILLING CITY to continue.');
		document.form.billingcity.focus();
		return(false);
	}
	if (document.form.billingstate.value.length == 0)
	{
		alert('You must enter CARD BILLING STATE to continue.');
		document.form.billingstate.focus();
		return(false);
	}
	if (document.form.billingzip.value.length == 0)
	{
		alert('You must enter CARD BILLING ZIP to continue.');
		document.form.billingzip.focus();
		return(false);
	}
	if (document.form.cardNumber.value.length == 0)
	{
		alert('You must enter CARD NUMBER to continue.');
		document.form.cardNumber.focus();
		return(false);
	}
	if (document.form.cardExpDate1.value.length == 0)
	{
		alert('You must enter CARD EXP DATE to continue.');
		document.form.cardExpDate1.focus();
		return(false);
	}
	if (document.form.cvv2.value.length == 0)
	{
		alert('You must enter CARD 3 DIGIT CVV2 CODE FROM BACK OF CARD to continue.');
		document.form.cvv2.focus();
		return(false);
	}



   return (true);
} 




function addresume()
{
	if (document.form.Title.value.length == 0)
	{
		alert('You must enter a RESUME TITLE to continue.');
		document.form.Title.focus();
		return(false);
	}
	if (document.form.Salary.value.length == 0)
	{
		alert('You must enter a SALARY REQUEST to continue.');
		document.form.Salary.focus();
		return(false);
	}
	if (document.form.ResumeText.value.length == 0)
	{
		alert('You must enter a RESUME to continue.');
		document.form.ResumeText.focus();
		return(false);
	}
	return (true);
} 
function addcovers()
{
	if (document.form.LetterName.value.length == 0)
	{
		alert('You must enter a COVER LETTER TITLE to continue.');
		document.form.LetterName.focus();
		return(false);
	}
	if (document.form.Letter.value.length == 0)
	{
		alert('You must enter a COVER LETTER to continue.');
		document.form.Letter.focus();
		return(false);
	}
	
	return (true);
} 

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random()*((screen.width-w)-75)):100;
		TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){
		LeftPosition=0;
		TopPosition=20}

	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
	win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}}
	
		function Validate_Form()
{
	if (document.form.strContactPerson.value.length == 0)
	{
		alert('You must enter A CONTACT PERSON to continue.');
		document.form.strContactPerson.focus();
		return(false);
	}
	if (document.form.strPhoneNumber.value.length == 0)
	{
		alert('You must enter A PHONE NUMBER to continue.');
		document.form.strPhoneNumber.focus();
		return(false);
	}
	if (document.form.strEmailAddress.value.length == 0)
	{
		alert('You must enter AN E-MAIL ADDRESS to continue.');
		document.form.strEmailAddress.focus();
		return(false);
	}
	if (document.form.strRequest.value.length == 0)
	{
		alert('You must enter A REQUEST to continue.');
		document.form.strRequest.focus();
		return(false);
	}
	return (true);
}
	
function displayPopup(url, height, width) {
properties = "toolbar=0,location=0,scrollbars=0,height=" + height;
properties = properties + ",width=" + width;
properties = properties + ",left=50,top=10";
popupHandle = open(url, "Upload_Image", properties);

}


	function comContact()
{
	if (document.form.email.value.length == 0)
	{
		alert('You must enter YOUR E-MAIL ADDRESS to continue.');
		document.form.email.focus();
		return(false);
	}
	if (document.form.title.value.length == 0)
	{
		alert('You must enter A TITLE to continue.');
		document.form.title.focus();
		return(false);
	}
	if (document.form.message.value.length == 0)
	{
		alert('You must enter A MESSAGE to continue.');
		document.form.message.focus();
		return(false);
	}
	return (true);
} 

	function postJobs()
{
	if (document.form.city.value.length == 0)
	{
		alert('You must enter JOB LOCATION CITY to continue.');
		document.form.city.focus();
		return(false);
	}
	if (document.form.zip.value.length == 0)
	{
		alert('You must enter JOB LOCATION ZIP to continue.');
		document.form.zip.focus();
		return(false);
	}
	if (document.form.phone.value.length == 0)
	{
		alert('You must enter JOB LOCATION PHONE to continue.');
		document.form.phone.focus();
		return(false);
	}
	if (document.form.openDate.value.length == 0)
	{
		alert('You must enter JOB OPEN DATE to continue.');
		document.form.openDate.focus();
		return(false);
	}
	if (document.title.openDate.value.length == 0)
	{
		alert('You must enter JOB TITLE to continue.');
		document.title.openDate.focus();
		return(false);
	}
	if (document.jobdescription.openDate.value.length == 0)
	{
		alert('You must enter JOB DESCRIPTION to continue.');
		document.jobdescription.openDate.focus();
		return(false);
	}
	if (document.jobrequirements.openDate.value.length == 0)
	{
		alert('You must enter JOB REQUIREMENTS to continue.');
		document.jobrequirements.openDate.focus();
		return(false);
	}
	return (true);
} 
//-->




































