// 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];}
}

window.onload=function(){
	MM_preloadImages('images/design_hover.jpg','images/people_hover.jpg','images/portfolio_hover.jpg','images/ideas_hover.jpg','images/contact_hover.jpg','images/what_we_do_hover.jpg','images/the_process_hover.jpg','images/case_studies_hover.jpg','images/our_clients_hover.jpg','images/testimonials_hover.jpg','images/the_comp_hover.jpg','images/employment_hover.jpg','images/the_team_hover.jpg','images/environment_hover.jpg','images/news_hover.jpg','images/products_hover.jpg','images/ip_oppor_hover.jpg','images/our_details_hover.jpg','images/the-process-research.jpg','images/the-process-ideation.jpg','images/the-process-engineering.jpg','images/the-process-product.jpg','images/the-process-delivery.jpg','images/the-process.jpg');
};

var menudata='<table border="0" cellspacing="0" cellpadding="0">'+
				'<tr>'+
				'<td valign="top"><a href="/what-we-do.html" onmouseover="MM_swapImage(\'design\',\'\',\'images/design_hover.jpg\',1);dropdownmenu(this, event, \'designmenu\');"><img src="images/design.gif" alt="design" name="img_design" width="101" height="45" border="0" id="img_design" /></a></td>'+
				'<td valign="top"><a href="/the-company.html" onmouseover="MM_swapImage(\'design\',\'\',\'images/people_hover.jpg\',1);dropdownmenu(this, event, \'peoplemenu\');"><img src="images/people.gif" alt="people" name="img_people" width="107" height="45" border="0" id="img_people" /></a></td>'+
				'<td valign="top"><a href="/products.html" onmouseover="MM_swapImage(\'design\',\'\',\'images/portfolio_hover.jpg\',1);dropdownmenu(this, event, \'portfoliomenu\');"><img src="images/portfolio.gif" alt="portfolio" name="img_portfolio" width="132" height="45" border="0" id="img_portfolio" /></a></td>'+
				'<td valign="top"><a href="/ip-opportunity.html" onmouseover="MM_swapImage(\'design\',\'\',\'images/ideas_hover.jpg\',1);dropdownmenu(this, event, \'ideasmenu\');"><img src="images/ideas.gif" alt="ideas" name="img_ideas" width="87" height="45" border="0" id="img_ideas" /></a></td>'+
				'<td valign="top"><a href="/our-details.html" onmouseover="MM_swapImage(\'design\',\'\',\'images/contact_hover.jpg\',1);dropdownmenu(this, event, \'contactmenu\');"><img src="images/contact.gif" alt="contact" name="img_contact" width="123" height="45" border="0" id="img_contact" /></a></td>'+
				'<td valign="top"><a href="index.html"><img src="images/idesign.gif"  border="0"/></a></td>'+
				'</tr>'+
				'</table>'+
				'<div id="designmenu" class="anylinkcss">'+
				'<a href="what-we-do.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_whatwedo\',\'\',\'images/what_we_do_hover.jpg\',1)"><img src="images/what_we_do.jpg" alt="What we do" name="img_whatwedo" width="100" height="21" border="0" id="img_whatwedo" /></a>'+
				'<a href="the-process.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_the_process\',\'\',\'images/the_process_hover.jpg\',1)"><img src="images/the_process.jpg" alt="The Process" name="img_the_process" width="100" height="21" border="0" id="img_the_process" /></a>'+
				'<a href="casestudies.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_casestudies\',\'\',\'images/case_studies_hover.jpg\',1)"><img src="images/case_studies.jpg" alt="Case Studies" name="img_casestudies" width="100" height="21" border="0" id="img_casestudies" /></a>'+
				'<a href="testimonials.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_testimonials\',\'\',\'images/testimonials_hover.jpg\',1)"><img src="images/testimonials.jpg" alt="Testimonials" name="img_testimonials" width="100" height="21" border="0" id="img_testimonials" /></a>'+
				'<a href="our-clients.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_our_clients\',\'\',\'images/our_clients_hover.jpg\',1)"><img src="images/our_clients.jpg" alt="Our Clients" name="img_our_clients" width="100" height="21" border="0" id="img_our_clients" /></a>'+
				'</div>'+
				'<div id="peoplemenu" class="anylinkcss">'+
				'<a href="the-company.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_company\',\'\',\'images/the_comp_hover.jpg\',1)"><img src="images/the_comp.jpg" alt="The Company" name="img_company" width="100" height="21" border="0" id="img_company" /></a>'+
				'<a href="employment.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_employ\',\'\',\'images/employment_hover.jpg\',1)"><img src="images/employment.jpg" alt="Employment" name="img_employ" width="100" height="21" border="0" id="img_employ" /></a>'+
				'<a href="the-team.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_team\',\'\',\'images/the_team_hover.jpg\',1)"><img src="images/the_team.jpg" alt="The Team" name="img_team" width="100" height="21" border="0" id="img_team" /></a>'+
				'<a href="environment.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_environ\',\'\',\'images/environment_hover.jpg\',1)"><img src="images/environment.jpg" alt="Environment" name="img_environ" width="100" height="21" border="0" id="img_environ" /></a>'+
				'<a href="newsletter.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_news\',\'\',\'images/news_hover.jpg\',1)"><img src="images/news.jpg" alt="Newsletter" name="img_news" width="100" height="21" border="0" id="img_news" /></a>'+				 
				'</div>'+
				'<div id="portfoliomenu" class="anylinkcss">'+
				'<a href="products.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_products\',\'\',\'images/products_hover.jpg\',1)"><img src="images/products.jpg" alt="Products" name="img_products" width="101" height="21" border="0" id="img_products" /></a>'+
				'</div>'+
				'<div id="ideasmenu" class="anylinkcss">'+
				'<a href="ip-opportunity.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_ip_opportunities\',\'\',\'images/ip_oppor_hover.jpg\',1)"><img src="images/ip_oppor.jpg" alt="IP Opportunity" name="img_ip_opportunities" width="102" height="21" border="0" id="img_ip_opportunities" /></a>'+
				'</div>'+
				'<div id="contactmenu" class="anylinkcss">'+
				'<a href="our-details.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'img_our_details\',\'\',\'images/our_details_hover.jpg\',1)"><img src="images/our_details.jpg" alt="Our Details" name="img_our_details" width="101" height="21" border="0" id="img_our_details" /></a>'+
				'</div>';


function f_hover(me){
	document.getElementById('mapid').src='images/the-process-' + me + '.jpg';
}
function f_out(){
	document.getElementById('mapid').src='images/the-process.jpg';
}
function f_outresearch(){
	document.getElementById('mapid').src='images/the-process-research.jpg';
}
function f_click(linkme){
	location.href=linkme;
}