
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="compliance-audit.html">Compliance Audit</a>'
menu1[1]='<a href="employees-state-insurance-act.html">Employees state insurance Act,1948</a>'
menu1[2]='<a href="employees-provident-funds.html">Employee Provident Fund and miscellaneous provisions Act,1952</a>'
menu1[3]='<a href="contract-labour.html">Contract labour (regulation & abolition) Act,1970</a>'

menu1[4]='<a href="profession-tax.html">Profession Tax</a>'
menu1[5]='<a href="labour-welfare-fund.html">Labour Welfare Fund</a>'
menu1[6]='<a href="employees-tax-planning.html">Income Tax matters relating to employees</a>'
menu1[7]='<a href="creation-management-trust.html">Creation & Management of Trust (PF, Gratuity , Superannuation)</a>'
menu1[8]='<a href="payroll.html">Payroll Processing</a>'
menu1[9]='<a href="shut-open-model.html">Shut and Open Model</a>'


		
var menuwidth='165px' //default menu width
var menubgcolor='#F9F9F9'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

function header()
{
	//document.write('<TABLE width="988" border="0" cellspacing="0" cellpadding="0">	<TR>	<TD rowspan="2" valign="top"><a href="index.php"><IMG SRC="images/header1.jpg" WIDTH="267" HEIGHT="191" BORDER="0" ALT="GB Professionals"></a></TD>		<TD valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="720" height="161"><param name="movie" value="images/internal-header.swf"><param name="quality" value="high"><embed src="images/internal-header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="720" height="161"></embed></object></TD>	</TR>	<TR>		<TD valign="top" class="toplinks1">		<TABLE border="0" cellspacing="0" cellpadding="0" align="left">		<TR>			<TD style="background-image:url(images/carrer.jpg);" WIDTH="137" height="24" class="toplinks1"><a href="about-us.html" class="toplinks1">ABOUT US</a></TD>			<td><IMG SRC="images/dividing-line.jpg" WIDTH="2" HEIGHT="23" BORDER="0" ALT=""></td>			<TD style="background-image:url(images/carrer.jpg);" WIDTH="137" height="24"  valign="middle" align="center"  onClick="return clickreturnvalue()"  onMouseover="dropdownmenu(this, event, menu1, \'325px\')" onMouseout="delayhidemenu()" class="toplinks1"><a href="#" class="toplinks1">SERVICES</a>	</TD>			<td><IMG SRC="images/dividing-line.jpg" WIDTH="2" HEIGHT="23" BORDER="0" ALT=""></td>			<TD style="background-image:url(images/carrer.jpg);" WIDTH="137" height="24" class="toplinks1"><a href="careers.html" class="toplinks1">CAREERS</A></TD>			<td><IMG SRC="images/dividing-line.jpg" WIDTH="2" HEIGHT="23" BORDER="0" ALT=""></td>			<TD style="background-image:url(images/carrer.jpg);" WIDTH="137" height="24" class="toplinks1"><a href="feedback.html" class="toplinks1">FEEDBACK</a></TD>			<td><IMG SRC="images/dividing-line.jpg" WIDTH="2" HEIGHT="23" BORDER="0" ALT=""></td>			<TD style="background-image:url(images/carrer.jpg);" WIDTH="137" height="24" class="toplinks1"><a href="contact-us.html" class="toplinks1">CONTACT US</a></TD>			<TD style="background-image:url(images/contact.jpg);" WIDTH="26" height="24"></TD>		</TR>		<tr><td height="7" colspan="10" bgcolor="#FFFFFF" width="721"></td></tr>		</TABLE></TD>	</TR>	</TABLE>');

	document.write('<TABLE width="988" border="0" cellspacing="0" cellpadding="0">	<TR>	<TD rowspan="2" valign="top"><a href="index.php"><IMG SRC="images/left-top.jpg" WIDTH="285" HEIGHT="259" BORDER="0" ALT="GB Professionals"></a></TD>		<TD valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="702" height="328"><param name="movie" value="images/internal-header.swf"><param name="quality" value="high"><embed src="images/internal-header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="702" height="328"></embed></object></TD>	</TR>	<TR>		<TD valign="top" class="toplinks1">		</TD>	</TR>	</TABLE>');
}

function footer()
{
	document.write('<TABLE border="0" cellspacing="0" cellpadding="0" width="100%">	<TR>		<TD width="29"></TD>		<TD bgcolor="#FFFFFF" class="footer" height="30" width="225" align="center">Copyrights &copy; <span class="footer1">GB Professional,</span><BR>All Rights Reserved</TD>		<TD width="280"></TD>		<TD class="bottomlinks" align="left" style="padding-right:80px"><a href="index.php" class="bottomlinks">Home</a> : : <a href="about-us.html" class="bottomlinks">About Us</A> : : <a href="contact-us.html" class="bottomlinks"> Contact Us</a></TD><td class="bottomlinks">Best viewed in 1024*768 resolution</td>	</TR>	</TABLE>');
}


function leftpanel()
{
	document.write('<TABLE cellspacing="0" cellpadding="0" align="center" height="100%" width="100%" border="0"><TR><TD  valign="top" align="center"><IMG SRC="images/sample-image.jpg" WIDTH="191" HEIGHT="148" BORDER="0" ALT=""></TD></TABLE>');
}

