if (document.images) {	code = new Image ;	code.src = "/images/design/code.gif" ;	code_on = new Image ;	code_on.src = "/images/design/code_on.gif" ;	music = new Image ;	music.src = "/images/design/music.gif" ;	music_on = new Image ;	music_on.src = "/images/design/music_on.gif" ;	imagery = new Image ;	imagery.src = "/images/design/imagery.gif" ;	imagery_on = new Image ;	imagery_on.src = "/images/design/imagery_on.gif" ;	stuff = new Image ;	stuff.src = "/images/design/stuff.gif" ;	stuff_on = new Image ;	stuff_on.src = "/images/design/stuff_on.gif" ;	contact = new Image ;	contact.src = "/images/design/contact.gif" ;	contact_on = new Image ;	contact_on.src = "/images/design/contact_on.gif" ;		banner = new Image ;	banner.src = "/images/design/banner.gif" ;	banner_on = new Image ;	banner_on.src = "/images/design/banner_on.gif" ;	}//end if imagesfunction imgOn(imgName) {	if (document.images) {		document[imgName].src = eval (imgName + "_on.src");	}}//end function imageOnfunction imgOff(imgName) {	if (document.images) {		document[imgName].src = eval (imgName + ".src");	}}//end function imageOfffunction buttonOn(curButton){	if (document.all) {		curButton.style.backgroundColor="#ffffff";		curButton.style.color="#3366cc";	}}function buttonOff(curButton){	if (document.all){		curButton.style.backgroundColor="#3366cc";		curButton.style.color="#ffffff";	}}function rowBGColor(row, color) {	if (document.getElementById) {		row.style.backgroundColor = color;	}}function adPopper(ad_id) {	var w = screen.width - 200;	var h = screen.height - 150;	var t = 10;	var l = 10;		var params = "scrollbars=1,resizable=1,status=0,location=0,width="+ w +",height="+ h;	if (document.all) {		//var top = (screen.height - h)/2;		var top = 10;				var left = (screen.width- w)/2;		params += ",left="+ left +",top="+ top ;	}	rapSheetWindow = window.open(		'/popups/ad.php?ad_id='+ad_id,		"ad"+ad_id,		params	);	rapSheetWindow.focus();}//=========== FORM VALIDATION FUNCTIONSfunction stripSpaces(mystr){	var newstring = "";	if (mystr.indexOf(' ') != -1) {		string = mystr.split(' ');		for (i=0; i < mystr.length; i++) {		newstring += string[i];	}	return newstring;	} else { return mystr; }}//stripSpacesfunction validEmail(str) {	emailEXP = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@([0-9a-z][0-9a-z-]*[0-9a-z]\.)+[a-z]{2}[mtgvu]?$/;	if (!emailEXP.test(str)) {		return false;	} else {		return true;	}}function wholeNumber(str) {	numEXP = /^\d{2,3}$/;	if (!numEXP.test(str)) {		return false;	} else {		return true;	}}function validZipCode(str) {	numEXP = /^\d{5}(-\d{4})?$/;	if (!numEXP.test(str)) {		return false;	} else {		return true;	}}function validPhoneNumber(str) {	phoneEXP = /^(\d{3}\-\d{3}\-\d{4}$|\d{3}\.\d{3}\.\d{4}$|\d{3}\ \d{3}\ \d{4}$|\d{10}$)/	if (!phoneEXP.test(str)) {		return false;	} else {		return true;	}}