// JavaScript Document

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function remove_sub()
{
	document.getElementById("div_website").style.display = "none";
	document.getElementById("div_marketing").style.display = "none";
	document.getElementById("div_studio").style.display = "none";
	document.getElementById("div_others").style.display = "none";
	
	MM_swapImage('MARKETING','','../images/tab_marketing.jpg',1);	
	MM_swapImage('STUDIO','','../images/tab_studio.jpg',1);	
	MM_swapImage('OTHERS','','../images/tab_other.jpg',1);	
	MM_swapImage('WEBSITE','','../images/tab_website.jpg',1);	
}

function display_marketingsub()
{
	remove_sub();
	MM_swapImage('MARKETING','','../images/tab_marketing1.jpg',1);	
	document.getElementById("div_marketing").style.display = "block";
}

function display_websitesub()
{
	remove_sub();
	MM_swapImage('WEBSITE','','../images/tab_website1.jpg',1);	
	document.getElementById("div_website").style.display = "block";
}

function display_studiosub()
{
	remove_sub();
	MM_swapImage('STUDIO','','../images/tab_studio1.jpg',1);	
	document.getElementById("div_studio").style.display = "block";
}

function display_otherssub()
{
	remove_sub();
	MM_swapImage('OTHERS','','../images/tab_other1.jpg',1);	
	document.getElementById("div_others").style.display = "block";
}


function display_menu()
{
	
	document.write('<div id="ddtopmenubar" class="mattblackmenu"><ul>');
	document.write('<li><a href="aboutus.htm" ><img style="border:none" src="menu_images/menu_01.gif" width="119" height="32" /></a></li>');
	document.write('<li><a href="ongoing.htm" rel="submenu_1" ><img style="border:none" src="menu_images/menu_02.gif" width="107" height="32" /></a></li>');
	document.write('<li><a href="gallery.htm" ><img style="border:none" src="menu_images/menu_03.gif" width="101" height="32" /></a></li>');
	document.write('<li><a href="video.htm" ><img style="border:none" src="menu_images/menu_04.gif" width="97" height="32" /></a></li>');
	document.write('<li><a href="appreciation.htm" ><img style="border:none" src="menu_images/menu_05.gif" width="134" height="32" /></a></li>');
	document.write('<li><a href="jointventure.htm" ><img style="border:none" src="menu_images/menu_06.gif" width="127" height="32" /></a></li>');
	document.write('<li><a href="enquiry.htm" ><img style="border:none" src="menu_images/menu_07.gif" width="90" height="32" /></a></li>');
	document.write('<li><a href="sitemap.htm" ><img style="border:none" src="menu_images/menu_08.gif" width="97" height="32" /></a></li>');
	document.write('<li><a href="contactus.htm" ><img style="border:none" src="menu_images/menu_09.gif" width="128" height="32" /></a></li>');
	document.write('</ul></div>');
	
	ddlevelsmenu.setup("ddtopmenubar", "topbar"); //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
	
	document.write('<ul id="submenu_1" class="ddsubmenustyle">');
	document.write('<li><a href="ongoing.htm">Ongoing Projects</a>');
	document.write('<li><a href="future.htm">Future Projects</a>');
	document.write('<li><a href="completed.htm">Completed Projects</a>');	
	document.write('</ul>');
	
	
}

function display_services()
{
	document.write('<table width="920" border="0" align="center" cellpadding="0" cellspacing="1">');
	document.write('<tr>');
	document.write('<td><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
	document.write('<td><a href="#" onmouseover="display_websitesub()"><img src="../images/tab_website1.jpg" alt="WEBSITE DEVELOPMENT" width="229" height="52" name="WEBSITE" id="WEBSITE" border="0" /></a></td>');
	document.write('<td><a href="#" onmouseover="display_marketingsub()"><img src="../images/tab_marketing.jpg" alt="MARKETING &amp; PROMOTIONS" width="229" height="52" border="0" name="MARKETING" id="MARKETING" /></a></td>');
	document.write('<td><a href="#" onmouseover="display_studiosub()"><img src="../images/tab_studio.jpg" alt="DESIGN STUDIO" width="229" height="52" name="STUDIO" id="STUDIO"  border="0" /></a></td>');
	document.write('<td><a href="#" onmouseover="display_otherssub()"><img src="../images/tab_other.jpg" alt="OTHER SERVICES" width="229" height="52" name="OTHERS" id="OTHERS"  border="0" /></a></td>');
	document.write('</tr>');
	document.write('</table></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td bgcolor="#687989"><div id="div_website">');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="../website/domain_name_registration.html"><img src="../images/image_domainreg.jpg" alt="DOMAIN NAME REGISTRATION" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../website/web_hosting.html"><img src="../images/image_webhosting.jpg" alt="WEB HOSTING" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../website/website_designing.html"><img src="../images/image_webdesign.jpg" alt="WEBSITE DESIGNING" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../website/e-commerce_website.html"><img src="../images/image_ecommerce.jpg" alt="E-COMMERCE &amp; E-PORTALS" width="190" height="167" border="0" /></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="../website/domain_name_registration.html"><img src="../images/sub_domain.jpg" alt="DOMAIN NAME REGISTRATION" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../website/web_hosting.html"><img src="../images/sub_hosting.jpg" alt="WEB HOSTING" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../website/website_designing.html"><img src="../images/sub_webdesign.jpg" alt="WEBSITE DESIGNING" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../website/e-commerce_website.html"><img src="../images/sub_ecommerce.jpg" alt="E-COMMERCE &amp; E-PORTALS" width="190" height="42" border="0" /></a></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</div>');
	document.write('<div id="div_marketing" style="display:none">');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="../marketing/sales_promotion.html"><img src="../images/image_salespromo.jpg" alt="SALES PROMOTION" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../marketing/promotional_gifts.html"><img src="../images/image_promogift.jpg" alt="PROMOTIONAL GIFTS" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../marketing/search_engine_optimization.html"><img src="../images/image_seo.jpg" alt="SEO &amp; INTERNET MARKETING" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../marketing/bulk_email_solutions.html"><img src="../images/image_bulkemail.jpg" alt="BULK SMS &amp; EMAILS" width="190" height="167" border="0" /></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="../marketing/sales_promotion.html"><img src="../images/sub_salespromo.jpg" alt="SALES PROMOTION" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../marketing/promotional_gifts.html"><img src="../images/sub_promogifts.jpg" alt="PROMOTIONAL GIFTS" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../marketing/search_engine_optimization.html"><img src="../images/sub_seo.jpg" alt="SEO &amp; INTERNET MARKETING" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../marketing/bulk_email_solutions.html"><img src="../images/sub_bulksms.jpg" alt="BULK SMS &amp; EMAILS" width="190" height="42" border="0" /></a></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</div>');
	document.write('<div id="div_studio" style="display:none">');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="../studio/logo_corporate_identity.html"><img src="../images/image_logo.jpg" alt="LOGO &amp; CORPORATE IDENTITY" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../studio/print_media.html"><img src="../images/image_printmedia.jpg" alt="PRINT MEDIA" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../studio/multimedia_presentations.html"><img src="../images/image_multimedia.jpg" alt="MULTIMEDIA PRESENTATIONS" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center"><a href="../studio/gui_designing.html"><img src="../images/image_gui.jpg" alt="GUI DESIGNING" width="190" height="167" border="0" /></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="../studio/logo_corporate_identity.html"><img src="../images/sub_logo.jpg" alt="LOGO &amp; CORPORATE IDENTITY" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../studio/print_media.html"><img src="../images/sub_print.jpg" alt="PRINT MEDIA" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../studio/multimedia_presentations.html"><img src="../images/sub_presentations.jpg" alt="MULTIMEDIA PRESENTATIONS" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center"><a href="../studio/gui_designing.html"><img src="../images/sub_gui.jpg" alt="GUI DESIGNING" width="190" height="42" border="0" /></a></td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</div>');
	document.write('<div id="div_others" style="display:none">');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="#"><img src="../images/image_print.jpg" alt="PRINTING" width="190" height="167" border="0" /></a></td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td align="center"><a href="#"><img src="../images/sub_printing.jpg" alt="PRINTING" width="190" height="42" border="0" /></a></td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('<td align="center">&nbsp;</td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</div></td>');
	document.write('</tr>');
	document.write('</table>');
}

function display_bottom()
{
	
	//document.write('<div align="center" class="bottom_div">&nbsp;</div>');
	
}

