<!--
function confirm_Comp_state()
{

if (the_form.Contact_name.value == "")
{
alert("Please fill in your contact name.");
the_form.Contact_name.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 0)
{
alert("Please select a state.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 17)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Kansas at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 23)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Michigan at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 35)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of North Dakota at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 37)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Oklahoma at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 38)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Oregon at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 46)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Vermont at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 48)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Washington at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 49)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of West Virginia at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_state.selectedIndex == 50)
{
alert("Thank you for your interest in Corporate Turnaround. Unfortunately, our services are unavailable in the state of Wisconsin at this time. We apologize for any inconvenience this may cause.");
the_form.Comp_state.focus();
return (false);
}

else if (the_form.Comp_phone.value == "")
{
alert("Please fill in your phone number.");
the_form.Comp_phone.focus();
return (false);
}

return (true);

}

//-->

<!--
function confirm_Comp_state2()
{

if (the_form2.Contact_name.value == "")
{
alert("Please fill in your contact name.");
the_form2.Contact_name.focus();
return (false);
}

else if (the_form2.Comp_phone.value == "")
{
alert("Please fill in your phone number.");
the_form2.Comp_phone.focus();
return (false);
}

return (true);

}

//-->

<!--
function confirm_Comp_state3()
{

if (the_form.Contact_name.value == "")
{
alert("Please fill in your contact name.");
the_form.Contact_name.focus();
return (false);
}

else if (the_form.Comp_phone.value == "")
{
alert("Please fill in your phone number.");
the_form.Comp_phone.focus();
return (false);
}

return (true);

}

//-->

<!--
function confirm_davidrand()
{

if (the_form.Contact_name.value == "Your name...")
{
alert("Please fill in your contact name.");
the_form.Contact_name.focus();
return (false);
}

else if (the_form.Comp_phone.value == "Your phone number...")
{
alert("Please fill in your phone number.");
the_form.Comp_phone.focus();
return (false);
}

return (true);

}

//-->

function clearDefaultandCSS(el) {
	if (el.defaultValue==el.value) el.value = ""
	// If Dynamic Style is supported, clear the style
	if (el.style) el.style.cssText = ""
}


<!--
/****************************************************
     Popup window generator provided for free at Hypergurl
     Url: http://www.hypergurl.com
     Author: Eric King
     Url: http://eak.digitalrice.com
     This script is free to use as long
     as this info is left in
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(screen.availWidth-w)):0;TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availHeight-h)-75)):0;}
if(pos=="center"){LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:0;TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:0;}
if(pos=="default"){LeftPosition=0;TopPosition=0}
else if((pos!="center" && pos!="random" && pos!="default") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
// -->