document.write ("<SCRIPT LANGUAGE='JavaScript' SRC='http://legalauthority.com/script/jsquote.js' TYPE='text/javascript'></SCRIPT>");
function qt(url)
{
	window.open(url+'quicktour.php','quicktour','height=480,width=650,toolbar=no,menubar=no,scrollbars=no,top=50,left=100,resizable=no');
}

function sendtofrnd(url)
{
	window.open(url+'send_to_friend.php','sentofrnd','height=374,width=403,toolbar=no,menubar=no,scrollbars=no,top=50,left=100,resizable=no');
}




function header(argument)
{
	document.write("<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
	document.write("	<tr>");
	document.write("		<td width='100%' height='20'></td>");
	document.write("	</tr>");
	document.write("</table>");
	document.write("<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
	document.write("	<tr>");
	document.write("		<td valign='top'><a href='index.html'><img src='images/logo.gif' width='275' height='44' border='0'></a></td>");	
	document.write("		<td width='12' valign='top'></td>");
	document.write("		<td width='386' valign='top'>");
	document.write("			<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
	document.write("            	<tr>");
	document.write("            		<td width='40%' height='38'>");
	document.write("<table cellpadding='0' cellspacing='0' width='100%' border='0'><tr><td>");
	if(argument=='joblisting')
		{
			document.write("<img src='images/btjoblisting.gif' width='80' height='34' border='0'><img src='images/blanker.gif' width='15' height='2' border='0'></td>");
		}
		else
		{
			document.write("<a href='joblisting.php'><img src='images/btjoblisting.gif' width='80' height='34' border='0'></a><img src='images/blanker.gif' width='15' height='2' border='0'></td>");
		}
	document.write("</td><td width='15'><img src='images/blanker.gif' width='1' height='2' border='0'></td><td>");
	if(argument=='submitresume')
		{
			document.write("<img src='images/btsubmitresume.gif' width='95' height='34' border='0'><img src='images/blanker.gif' width='15' height='2' border='0'>");
		}
		else
		{
			document.write("<a href='submitresume.php'><img src='images/btsubmitresume.gif' width='95' height='34' border='0'></a><img src='images/blanker.gif' width='15' height='2' border='0'>");
		}
	document.write("</td><td width='15'><img src='images/blanker.gif' width='1' height='2' border='0'></td><td>");
	if(argument=='signin')
		{
			document.write("<img src='images/btsignin.gif' width='64' height='34' border='0'><img src='images/blanker.gif' width='15' height='2' border='0'>");
		}
		else
		{
			document.write("<a href='signin.cgi'><img src='images/btsignin.gif' width='64' height='34' border='0'></a><img src='images/blanker.gif' width='15' height='2' border='0'>");
		}
	document.write("</td><td width='15'><img src='images/blanker.gif' width='1' height='2' border='0'></td><td>");
	if(argument=='subscribe')
		{
			document.write("<img src='images/btsubscribe.gif' width='66' height='34' border='0'></td>");
		}
		else
		{
			document.write("<a href='subscribe.php'><img src='images/btsubscribe.gif' width='66' height='34' border='0'></a></td>");
		}
	document.write("</td></tr></table>");
	document.write("</td><td width='60%'></td>");
	document.write("            	</tr>");
	document.write("				<tr>");
	document.write("					<td colspan='2'><img src='images/blanker.gif' width='15' height='5' border='0'><br><a href='javascript:qt()'><img src='images/bttakeatour.gif' width='108' height='9' border='0'></a><img src='images/blanker.gif' width='25' height='5' border='0'><a href='javascript:tellafriend()'><img src='images/referafriend_btn.gif' width='108' height='9' border='0'></a></td>");
	document.write("				</tr>");
	document.write("            </table>");
	document.write("		</td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td colspan='2' height='8'></td>");
	document.write("	</tr>");
	document.write("</table>");
	document.write("<table cellpadding='0' cellspacing='0' width='100%' class='bgmaroon' border='0'>");
	document.write("	<tr>");
	document.write("		<td width='20'><img src='images/blanker.gif' width='20' height='1' border='0'></td>");
	document.write("		<td height='25'>");
	document.write("			<table cellpadding='0' cellspacing='0' width='780' class='bgmaroon' border='0'>");
	document.write("				<tr>");
	document.write("					<td class='textlink'><a href='aboutgcc.html'>Company Profile</a> | <a href='ar_usinggcc.html'>Attorney Resources</a> | <a href='employer_resources.html'>Employer Resources</a> | <a href='jobcenter.html'>Job Center</a> | <a href='contactus.html'>Contact Us</a> ");
	if(argument=='home')
	{
		document.write("&nbsp;");
	}
	else
	{
		document.write("| <a href='index.html'>Home</a>");
	}
	document.write("				</td></tr>");
	document.write("			</table>");
	document.write("		</td>");
	document.write("	</tr>");
	document.write("</table>");
}


function footer(argument)
{
	document.write("<table cellpadding='0' cellspacing='0' width='100%' class='bgmaroon' border='0'>");
	document.write("	<tr>");
	document.write("		<td class='textlink' align='right' valign='bottom'>");
	document.write("<a href='subscribe.php'>Newsletter and Job Updates</a> | <a href='gcc_news_events.html'>General Counsel Consulting News & Events</a><img src='images/blanker.gif' width='1' height='25' border='0' align='absmiddle'></td>");
	document.write("		<td width='20' height='37'><img src='images/blanker.gif' width='20' height='1' border='0'></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td bgcolor='#ffffff' colspan='2'><img src='images/blanker.gif' width='1' height='2' border='0'></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td bgcolor='#b5b564' colspan='2' valign='bottom'><img src='images/blanker.gif' width='1' height='2' border='0'></td>");
	document.write("	</tr>");
	document.write("</table>");
	/*document.write("<table cellpadding='0' cellspacing='0' width='100%' class='bgmaroon' border='1'>");
	document.write("	<tr>");
	document.write("		<td height='2' class='bgwhite'></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td height='3' class='bgyellow'><img src='images/blanker.gif' width='1' height='1' border='0'></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td height='8' class='bgwhite'></td>");
	document.write("	</tr>");
	document.write("</table>");*/
}


function partnersites()
{
	document.write("<table width='100%' cellpadding='0' cellspacing='0' border='0'>");
	document.write("	<tr>");
	document.write("		<td width='20' rowspan='5'><img src='images/blanker.gif' width='20' height='1' border='0'></td>");
	document.write("		<td class='textfooter'>&copy;&nbsp;2006 GCC, ALL RIGHTS RESERVED, <a href='privacystatement.html'>PRIVACY STATEMENT</a> | <a href='sitemap.html'>SITE MAP</a></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td height='9'><img src='images/blanker.gif' width='1' height='1' border='0'></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td align='center'><a href='http://www.juriscape.com' target='_new'><img src='images/juriscapelogo.gif' width='60' height='19' border='0'></a></td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td height='25' class='textfooter' align='center'>");
	document.write ("			<table cellpadding='0' cellspacing='0' border='0'>");
	document.write ("				<tr>");
	document.write ("					<td><img src='images/daily_quote_heart.gif' width='12' height='12' border='0'></td>");
	document.write ("					<td width='5'></td>");
	document.write ("					<td class='textfooter'><strong><script language='JavaScript' type='text/javascript'>jsquote();</script></strong></td>");
	document.write ("					<td width='5'></td>");
	document.write ("					<td><img src='images/daily_quote_heart.gif' width='12' height='12' border='0'></td>");
	document.write ("				</tr>");
	document.write ("			</table>");
	document.write ("		</td>");
	document.write("	</tr>");
	document.write("	<tr>");
	document.write("		<td height='20' class='textpartnersite'><strong>Partner Sites:</strong> <a href='http://www.attorneyresearchgroup.com' target='_new'>Attorney Research Group</a> | <a href='http://www.attorneyresume.com' target='_new'>Attorney Resume</a> | <a href='http://www.bcgsearch.com' target='_new'>BCG Attorney Search</a> | <a href='http://www.edfed.com' target='_new'>EdFed</a> | <a href='http://www.jd2b.com' target='_blank'>JD2B</a> | <a href='http://www.juriscape.com' target='_new'>Juriscape</a> | <a href='http://www.lawcrossing.com' target='_new'>LawCrossing</a> | <br><img src='../images/blanker.gif' width='82' height='1' border='0'><a href='http://www.lawfirmstaff.com' target='_blank'>Law Firm Staff</a> | <a href='http://www.lawschoolloans.com' target='_new'>Law School Loans</a> | <a href='http://www.lawschoolloanreport.org' target='_new'>Law School Loan Report</a> | <a href='http://www.legalauthority.com' target='_new'>Legal Authority</a> | <a href='http://www.legalauthorityfinancial.com' target='_new'>Legal Authority Financial</a></td>");
	document.write("	</tr>");
    document.write("	<tr>");
	document.write("		<td height='15' class='textpartnersite'>&nbsp;</td>");
	document.write("	</tr>");
	document.write("</table>");
}


function subscriberight(argument)
{
	if(argument=='submitresume')
	{
		document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
		document.write("        		<tr><td colspan='3' height='10'><img src='images/blanker.gif' width='195' height='1' border='0'></td></tr>");
		document.write("		</table>");
		document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
		document.write("			<tr>");
		document.write("				<td width='10'></td>");
		document.write("				<td height1='60' class='textblack'><font class='textmaroon'><b>Apply Now!</b></font><br><a href='submitresume.php'>Click here</a> to confidentially submit your resume. </td>");
		document.write("				<td width='10'></td>");
		document.write("			</tr>");
//		document.write("			<tr><td colspan='3' height='5'></td></tr>");
		document.write("        </table>");
	}
	if(argument=='realtime')
	{
		document.write("		<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
		document.write("        	<tr><td height='1' colspan='3'><img src='images/blanker.gif' width='195' height='1' border='0'></td></tr>");
		document.write("		</table>");
		document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
		document.write("			<tr><td colspan='3' height='10'></td></tr>");
		document.write("        	<tr><td width='10'></td>");
		document.write("				<td class='textblack'><font class='textmaroon'><b>Real-Time Job Updates</b></font><br><a href='subscribe.php'>Click here</a> to receive new jobs by email as soon as they become available.</td>");
		document.write("        		<td width='10'></td></tr>");
//		document.write("			<tr><td colspan='3' height='20'></td></tr>");
		document.write("		</table>");
	}
	if(argument=='relocating_city')
	{
		document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
		document.write("        		<tr><td colspan='3' height='10'><img src='images/blanker.gif' width='195' height='1' border='0'></td></tr>");
		document.write("		</table>");
		document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
		document.write("			<tr>");
		document.write("				<td width='10'></td>");
		document.write("				<td height1='60' class='textblack'><font class='textmaroon'><b>Apply Now!</b></font><br><a href='submitresume.php'>Click here</a> to confidentially submit your resume. </td>");
		document.write("				<td width='10'></td>");
		document.write("			</tr>");
//		document.write("			<tr><td colspan='3' height='5'></td></tr>");
		document.write("        </table>");
		//real time
		document.write("		<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
		document.write("        	<tr><td height='1' colspan='3'><img src='images/blanker.gif' width='195' height='1' border='0'></td></tr>");
		document.write("		</table>");
		document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
		document.write("			<tr><td colspan='3' height='10'></td></tr>");
		document.write("        	<tr><td width='10'></td>");
		document.write("				<td class='textblack'><font class='textmaroon'><b>Real-Time Job Updates</b></font><br><a href='subscribe.php'>Click here</a> to receive new jobs by email as soon as they become available.</td>");
		document.write("        		<td width='10'></td></tr>");
//		document.write("			<tr><td colspan='3' height='20'></td></tr>");
		document.write("		</table>");
	}
	else{
	document.write("		<table cellpadding='0' cellspacing='0' width='100%' border='0'>");
	document.write("			<tr><td colspan='3' height='20'></td></tr>");
	document.write("			<tr><td width='10'></td>");
	document.write("				<td class='textblack'><font class='textmaroon'><b>Relocating to another city?</b></font><br><a href='relocating_city.html'>Click here</a> to read the General Counsel Consulting guide to relocation.</td>");
	document.write("        		<td width='10'></td></tr>");
	document.write("			<tr><td colspan='3' height='20'></td></tr>");
	document.write("        </table>");
	}
}

function ararrow()
{
	document.write("<table cellpadding='0' cellspacing='0' width='645' border='0'>");
	document.write("<tr><td width='48' height='19'><img src='images/blanker.gif' width='48' height='1' border='0'></td>");
	document.write("<td><img src='images/linkarrow.gif' width='24' height='19' border='0'></td></tr></table>");
}
function erarrow()
{
	document.write("<table cellpadding='0' cellspacing='0' width='645' border='0'>");
	document.write("<tr><td width='178' height='19'><img src='images/blanker.gif' width='178' height='1' border='0'></td>");
	document.write("<td><img src='images/linkarrow.gif' width='24' height='19' border='0'></td></tr></table>");
}
function jcarrow()
{
	document.write("<table cellpadding='0' cellspacing='0' width='645' border='0'>");
	document.write("<tr><td width='252' height='19'><img src='images/blanker.gif' width='252' height='1' border='0'></td>");
	document.write("<td><img src='images/linkarrow.gif' width='24' height='19' border='0'></td></tr></table>");
}
function cuarrow()
{
	document.write("<table cellpadding='0' cellspacing='0' width='645' border='0'>");
	document.write("<tr><td width='328' height='19'><img src='images/blanker.gif' width='328' height='1' border='0'></td>");
	document.write("<td><img src='images/linkarrow.gif' width='24' height='19' border='0'></td></tr></table>");
}

//java scroll
function movedown(){
if (window.moveupvar) clearTimeout(moveupvar)
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+250))
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
else if (ns4&&crossobj.top>=(contentheight*(-1)+250))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}

function moveup(){
if (window.movedownvar) clearTimeout(movedownvar)
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)
}

function stopscroll(){
if (window.moveupvar) clearTimeout(moveupvar)
if (window.movedownvar) clearTimeout(movedownvar)
}

function init() {

  var img;
  var x, y;

  // Locate placeholder image so we can use it to position the scrollers.

  img = getImage("placeholder");
  x = getImagePageLeft(img);
  y = getImagePageTop(img);

  // Create the first scroller and position it.

  myScroller1.create();
  myScroller1.hide();
  myScroller1.moveTo(x, y);
  myScroller1.setzIndex(100);
  myScroller1.show();
}


//not using below function it is for going to top
//specify speed of scroll (greater=faster)
/*var speed=1
iens6=document.all||document.getElementById
ns4=document.layers

function movetop(){
stopscroll()
if (iens6)
crossobj.style.top=0+"px"
else if (ns4)
crossobj.top=0
}

function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height*/

function ValidatorTrim(s) {
    var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/);
    return (m == null) ? "" : m[1];
}


// Email Validation
function checkEmail(strng)
{
	var error = "";
	if (strng == "")
		{
		error = "You did not enter an email-address.\n";
		}
	var emailFilter=/^.+@.+\..{2,4}$/;
	if (!(emailFilter.test(strng))) 
		{ 
		error = "Please enter a valid email address.\n";
		}
	var illegalChars= "/[\(\)\<\>\,\;\:\\\/\"\[\]]/";
	if(strng.match(illegalChars))
		{
		error = "The email address contains illegal characters.\n";
		}
	return error;
}

// flash banners - added by mhshah 30/10/2006

function centerbanner()
{
   document.write('<object data="http://www.gcconsulting.com/images/gcc_banner_535x127.swf" type="application/x-shockwave-flash" width="534" height="118">');
   document.write('<param name="MOVIE" value="http://www.gcconsulting.com/images/gcc_banner_535x127.swf">');
   document.write('<param name="wmode" value="transparent">');
   document.write('</object>');
} 

function audiobanner()
{
   document.write('<object data="http://www.gcconsulting.com/images/gcc_audioroom_121x80.swf" type="application/x-shockwave-flash" width="121" height="80">');
   document.write('<param name="MOVIE" value="http://www.gcconsulting.com/images/gcc_audioroom_121x80.swf">');
   document.write('<param name="wmode" value="transparent">');
   document.write('</object>');
} 

function rightbanner()
{
   document.write('<object data="http://www.gcconsulting.com/images/gcc_top_right_177x523.swf" type="application/x-shockwave-flash" width="177" height="523">');
   document.write('<param name="MOVIE" value="http://www.gcconsulting.com/images/gcc_top_right_177x523.swf">');
   document.write('<param name="wmode" value="transparent">');
   document.write('</object>');
} 

function quicktour1()
{
   document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="650" HEIGHT="480">');
   document.write('<PARAM NAME="movie" VALUE="http://www.gcconsulting.com/images/2052_quickTour_650x480.swf">');
   document.write('<PARAM NAME="Quality" VALUE="High">');
   document.write('<param name="wmode" value="transparent">');
   document.write('<EMBED src="http://www.gcconsulting.com/images/2052_quickTour_650x480.swf" quality="high" WIDTH="650" HEIGHT="480" TYPE="application/x-shockwave-flash" PLUGINSPAGE="https://www.macromedia.com/go/getflashplayer"></EMBED>');
   document.write('</OBJECT>');
} 

