function bottom_search()
{
	//alert('masta');
	window.location = "http://www.indiamart.com/company/bottom.html";
	//alert(window.location);
}
function top_search()
{
	//alert('masta');
	window.location = "http://www.indiamart.com/company/top.html";
	//alert(window.location);
}

function resize_img(Obj, image, h_limit, w_limit)
{
myImage=new Image();
myImage.src=image;
var height=myImage.height;
var width=myImage.width;
if(h_limit)
{h=h_limit;}
else
{h=125;}
if(w_limit)
{w=w_limit;}
else
{w=125;}
if(height > h || width > w)
{if(height > width){
var temp=height/h;
var new_width=width / temp;
new_width=parseInt(new_width);
height=h;
width=new_width;}
else{
var temp=width/w;
var new_height=height / temp;
new_height=parseInt(new_height);
height=new_height;
width=w; } }
Obj.height=height;
Obj.width=width;}
function CheckDataSearch(Form,isframe)
{var str='';
Form.ss.value=Form.ss.value.replace(/^\s+/g, '').replace(/\s+$/g, '');
while(Form.ss.value.indexOf('  ')>0)
{Form.ss.value = Form.ss.value.replace('  ',' ');	}
Form.ss.value = Form.ss.value.replace(/[^a-zA-Z0-9+ ]/g, ' ');
var temp=Form.ss.value.replace(/\s/g, '');
if (Form.ss.value.length < 3){
 alert("Enter at least three characters for search.");
 Form.ss.focus();
 return false;}
else
{if(Form.searchfor.value=="comp"){
top_search();
var a = Form.ss.value.replace(/\+/g, ' ');
a = a.replace(/\s+/g, '+');
str +='ss='+a;
str="http://dir.indiamart.com/cgi/compcatsearch.mp?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false; }
else if(Form.searchfor.value=="product") {
top_search();
var b = Form.ss.value.replace(/\+/g, ' ');
b = b.replace(/\s+/g, '+');
str +='ss='+b;
str="http://catalogs.indiamart.com/cgi/catprdsearch.mp?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
 if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false;}
else if(Form.searchfor.value=="offer") {
top_search();
var c = Form.ss.value.replace(/\+/g, ' ');
c = c.replace(/\s+/g, '+');
str +='search='+c;
str="http://trade.indiamart.com/search.mp?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
 if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false; }
else if(Form.searchfor.value=="tenders"){
top_search();
var d = Form.ss.value.replace(/\+/g, ' ');
d = d.replace(/\s+/g, '+');
d = d.toLowerCase();
str +='ss='+d;
//str +='&searchfor='+Form.searchfor.value;
//str +='&modid=TDR';
//str +='&cr=td';
//str +='&sr=1';
str="http://tenders.indiamart.com/search.cgi?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
 if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false;}}}
function get_radio_value()
{var rad_val='';
for (var i=0; i < document.searchForm2.radiobt.length; i++)
{if (document.searchForm2.radiobt[i].checked)
{rad_val=document.searchForm2.radiobt[i].value;}}
return rad_val;}
function CheckDataSearch1(Form,isframe){
var str='';
Form.ss.value=Form.ss.value.replace(/^\s+/g, '').replace(/\s+$/g, '');
while(Form.ss.value.indexOf('  ')>0)
{Form.ss.value = Form.ss.value.replace('  ',' ');	}
Form.ss.value = Form.ss.value.replace(/[^a-zA-Z0-9+ ]/g, ' ');
var temp=Form.ss.value.replace(/\s/g, '');
if (Form.ss.value.length < 3)
{alert("Enter at least three characters for search.");
Form.ss.focus();
return false;}
else if(Form.ss.value == "Enter your keyword"){
alert("Enter at least three characters for search.");
Form.ss.focus();
return false;
}
else{
var rad_val=get_radio_value();
if(rad_val=="comp"){
bottom_search();
var a = Form.ss.value.replace(/\+/g, ' ');
a = a.replace(/\s+/g, '+');
str +='ss='+a;
str="http://dir.indiamart.com/cgi/compcatsearch.mp?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false;}
else if(rad_val=="product"){
bottom_search();
var b = Form.ss.value.replace(/\+/g, ' ');
b = b.replace(/\s+/g, '+');
str +='ss='+b;
str="http://catalogs.indiamart.com/cgi/catprdsearch.mp?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
 if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false;}
else if(rad_val=="offer"){
bottom_search();
var c = Form.ss.value.replace(/\+/g, ' ');
c = c.replace(/\s+/g, '+');
str +='search='+c;
str="http://trade.indiamart.com/search.mp?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
 if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false;}
else if(rad_val=="tenders"){
bottom_search();
var d = Form.ss.value.replace(/\+/g, ' ');
d = d.replace(/\s+/g, '+');
str +='ss='+d;
str +='&searchfor='+Form.searchfor.value;
str +='&modid=TDR';
str +='&cr=td';
str +='&sr=1';
str="http://tenders.indiamart.com/tenders-search.pl?"+str;
str=myReplace(str,"\\\\?\\\\&","?");
 if(isframe ==1)
{parent.window.location = str;}
else{window.location = str;}
return false;}}}
function myReplace(str, a, b){
var re=new RegExp(a, "g");
var ret=str.replace(re,b);
return ret;}
function SwitchMenu4(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv4").getElementsByTagName("div");
if(el.style.display != "block"){
for (var i=0; i<ar.length; i++){
if (ar[i].className=="sub1")
ar[i].style.display = "none";
}el.style.display = "block";}
else{el.style.display = "none";}}}

// function googlead(){
// if(document.getElementById('gright'))
// {
// if(typeof(window.innerWidth)=='number') {myWidth=window.innerWidth;myHeightnew=window.innerHeight;} else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { myWidth=document.documentElement.clientWidth; myHeightnew=document.documentElement.clientHeight;} else if(document.body && (document.body.clientWidth || document.body.clientHeight)) {myWidth=document.body.clientWidth;myHeightnew=document.body.clientHeight;}var grt=document.getElementById('gright');var gto=document.getElementById('gtop');var ibd=document.getElementById('bd');var gb=document.getElementById('gbottom');if (1002 >=myWidth){grt.className="doff";gto.className="don";if(gb) {ibd.className="doff";gb.className="doff";}}else{grt.className="grt";gto.className="doff";if(gb) {gb.className="don";ibd.className="gbdr";}}}}

// function addEvent(obj, type, fn){
// if (obj.addEventListener){
// obj.addEventListener(type, fn, false);}
// else if (obj.attachEvent){
// obj["e"+type+fn]=fn;
// obj[type+fn]=function(){ obj["e"+type+fn](window.event); }
// obj.attachEvent("on"+type, obj[type+fn]);}}
// addEvent(window, 'load', googlead);
// addEvent(window, 'resize', googlead);


var myWidthnew=0, myHeightnew=0;
var divscroll,message2,prname,imagediv,blwtbl,mx,mx1;
function bhw(val){
if( typeof( window.innerWidth )=='number' ){myWidthnew=window.innerWidth;myHeightnew=window.innerHeight;} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {myWidthnew=document.documentElement.clientWidth;myHeightnew=document.documentElement.clientHeight;} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {myWidthnew=document.body.clientWidth;myHeightnew=document.body.clientHeight;}var h=window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;var browserName=navigator.appName; var imagedivheight=myHeightnew-93;var test=myWidthnew*24/100;var divwidth=myWidthnew-test;var widthformizilla=myWidthnew-538;var mozillawidth=widthformizilla-divwidth;var mozillawidth1=mozillawidth/2;var mtop=h+7;var iewidth=myWidthnew-516;var aboveheight=myHeightnew-584;if (val=="cal"){iewidth=myWidthnew-730;aboveheight=myHeightnew-410;}var iewidth1=iewidth/2;var aboveheight1=aboveheight/2+h;divscroll.style.height="500px";divscroll.style.width="504px";blwtbl.style.height="478px";if (val=="cal"){blwtbl.style.height="320px";divscroll.style.width='730px';divscroll.style.height='335px';}message2.style.top=aboveheight1+'px';message2.style.left=iewidth1+'px';divscroll.name="miniwin";if ((myHeightnew <=586) && (val !="cal")){divscroll.style.height=imagedivheight+'px';divscroll.style.width="522px";blwtbl.style.height=imagedivheight+'px';message2.style.top=mtop+'px';}}function max(){var imagedivheightnew=myHeightnew-93;var imagedivwidthnew=myWidthnew-212;var imagedivheightnew1=myHeightnew-94;var h=window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;var browserName=navigator.appName; var mtop=h+7;if (divscroll.name=="miniwin"){message2.style.left="100px";message2.style.top=mtop+'px';divscroll.style.width=imagedivwidthnew+'px';divscroll.style.height=imagedivheightnew+'px';blwtbl.style.height=imagedivheightnew1+'px';divscroll.name="maxwin";mx.className="doff";mx1.className="don";}else{mx.className="don";mx1.className="doff";bhw()}}
function blowup_show(){divscroll=document.getElementById('divscroll');message2=document.getElementById('message2');prname=document.getElementById('prname');imagediv=document.getElementById('imagediv');blwtbl=document.getElementById('blwtbl');mx=document.getElementById('mx');mx1=document.getElementById('mx1');divscroll.style.height="";divscroll.style.width=""; var nAgt=navigator.userAgent;var patt=/Chrome/;if(patt.test(nAgt)){message2.className="don";bhw();}else{document.body.style.overflow="hidden";document.getElementsByTagName("html")[0].style.overflow="hidden";message2.className="don";mx.className="don";mx1.className="doff";bhw();}}
function blowup_show2(){divscroll=document.getElementById('divscroll');message2=document.getElementById('message2');prname=document.getElementById('prname');imagediv=document.getElementById('imagediv');blwtbl=document.getElementById('blwtbl');mx=document.getElementById('mx');mx1=document.getElementById('mx1');divscroll.style.height="";divscroll.style.width="";mx.className="doff";mx1.className="doff"; var nAgt=navigator.userAgent;var patt=/Chrome/;if(patt.test(nAgt)){message2.className="don";bhw('cal');}else{document.body.style.overflow="hidden";document.getElementsByTagName("html")[0].style.overflow="hidden";message2.className="don";bhw('cal');}}function blowup_off(){prname.innerHTML="";message2.className="doff";document.body.style.overflow="";document.getElementsByTagName("html")[0].style.overflow="";document.getElementById('loadimg').className="don";imagediv.className="doff";}var path='';var imgid="0";function imageset(id,imagepath){divscroll=document.getElementById('divscroll');message2=document.getElementById('message2');prname=document.getElementById('prname');imagediv=document.getElementById('imagediv');blwtbl=document.getElementById('blwtbl');mx=document.getElementById('mx');mx1=document.getElementById('mx1');path=imagepath;imgid=id;var pic=document.getElementById(imgid);productName=pic.alt;productName=unescape(productName);if(productName.length > 40){var c=productName.substring(0,40);c=c + "...";productName=c;}imagediv.innerHTML='<img src="'+path+'" alt="'+productName+'" onload="loadimg()" id="bigimg">';prname.innerHTML=productName;}
function trustseal(path){imagediv.innerHTML='<iframe src="'+path+'" height="830" width="520" onload="loadimg1();" id="ifrm" FRAMEBORDER="0" MARGINWIDTH="0"></iframe>';divscroll.style.width='550px';blwtbl.style.height="600px";mx.className="doff";mx1.className="doff";}

function NewWinIM(mypage,myname,compname)
{

//alert(compname);
mx=document.getElementById('mx');mx1=document.getElementById('mx1');
imagediv=document.getElementById('imagediv');
var embedcode='';
var arr=mypage.split('/');
if (mypage.search(/heavy\#\#/) != -1){
      mypage = mypage.replace('heavy##','');
      var hw='height=350,width=370';
      var embedcode = '<embed  src="http://www.videowebtown.com/community/flvplayer/flvplayer.swf?file=http://www.videowebtown.com/indiamartvideo/video/'+mypage+'.flv&autoStart=false" quality="high" bgcolor="#ffffff" width="352" height="288" name="movie" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
}
else
{
      var hw='height=350,width=370';
      var embedcode = '<embed src="http://www.4shared.com/flash/flvplayer.swf"  style="width: 400px; height: 326px;" bgcolor="#ffffff" allowscriptaccess="always" allowfullscreen="true" flashvars="file=http://dc152.4shared.com/img/'+arr[0]+'/'+arr[1]+'/dlink__2Fdownload_2F'+arr[0]+'_2F'+arr[1]+'_3Fdsid_3DJGITKOINJZHYGJIAJPJYHXISIQKIJFIVHXHZHYJIIZJBJPIWKSIRKQITIGJTIAGHGCIAHYJHINIQKVKU/preview.flv&amp;image=http://dc152.4shared.com/img/'+mypage+'&amp;autostart=true">';
}


//alert(imagediv.class);

prname.innerHTML=compname;
document.getElementById('loadimg').className="doff";
imagediv.className="don";
imagediv.innerHTML=embedcode;
divscroll.style.width='400px';
blwtbl.style.height='200px';
document.getElementById('divscroll').style.height='330px';

mx.className="doff";
mx1.className="doff";
imagediv.className="don";
}

function callfree1(callpath,comp_nm){
comp_nm=comp_nm.replace(/\\'/g,"'");
comp_nm=escape(comp_nm);
comp_nm='&supCompName='+comp_nm;
callpath=callpath+comp_nm;
imagediv.innerHTML='<iframe src="'+callpath+'" height="320" width="720" onload="loadimg1()" FRAMEBORDER="0" MARGINWIDTH="0" SCROLLING="no"></iframe>';
mx.className="doff";
document.body.style.overflow="";
document.getElementsByTagName("html")[0].style.overflow="";}
function loadimg(){document.getElementById('loadimg').className="doff";imagediv.className="don";if(document.getElementById('bigimg').height > 500 && document.getElementById('bigimg').width > 500){max();}}
function loadimg1(){document.getElementById('loadimg').className="doff";imagediv.className="don";}document.write('<DIV ID="message2" STYLE="position:absolute;top:0px;left:0px;z-index:2000";ALIGN="center" class="doff"><TABLE ID="tableheight" ALIGN="center" BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD ALIGN="center"><TABLE CLASS="bgclor" BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD ALIGN="center"><TABLE CLASS="bg mainnew" ALIGN="center" BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%" HEIGHT="35"><TR><TD ID="titleBar"STYLE="cursor:move"><ILAYER WIDTH="100%" ONSELECTSTART="return false"> </ILAYER><LAYER WIDTH="100%" ONMOUSEOVER="isHot=true;if (isN4) ddN4(message2)" ONMOUSEOUT="isHot=false"><DIV ID="prname" CLASS="pt g2 bo wh tl"></DIV></LAYER></TD><TD ALIGN="right" STYLE="padding-right:0px;" WIDTH="100"><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD><IMG SRC="http://fcp.imimg.com/gifs/max1.gif" id="mx" WIDTH="21" HEIGHT="21" STYLE="cursor:pointer" ONCLICK="max()" HSPACE="2"></TD><TD><IMG SRC="http://fcp.imimg.com/gifs/max.gif" id="mx1" WIDTH="21" HEIGHT="21" STYLE="cursor:pointer;" class="doff" ONCLICK="max()" HSPACE="2"></TD><TD><IMG SRC="http://fcp.imimg.com/gifs/cl.gif" WIDTH="21" HEIGHT="21" hspace="3" ONCLICK="blowup_off()" STYLE="cursor:pointer"></TD></TR></TABLE></TD></TR></TABLE><DIV CLASS="image_div" ID="divscroll" ALIGN="center"><TABLE ID="blwtbl" ALIGN="center" BGCOLOR="#ffffff" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR><TD ALIGN="center"><DIV ID="loadimg" STYLE="font-family:arial;font-size:15px;" class="doon"><IMG SRC="http://fcp.imimg.com/gifs/indicator-new.gif" height="36" width="36"><BR><BR>Loading...</DIV><DIV ID="imagediv" class="doff"></DIV></TD></TR></TABLE></DIV></TD></TR></TABLE></TD></TR></TABLE></DIV>');
isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;
isHot=false;
function ddInit(e){
topDog=isIE ? "BODY" : "HTML";
whichDog=isIE ? document.all.message2 : document.getElementById("message2");
hotDog=isIE ? event.srcElement : e.target;
while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){
hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;}
if (hotDog.id=="titleBar"){
offsetx=isIE ? event.clientX : e.clientX;
offsety=isIE ? event.clientY : e.clientY;
nowX=parseInt(whichDog.style.left);
nowY=parseInt(whichDog.style.top);
ddEnabled=true;
document.onmousemove=dd;}}
function dd(e){
if (!ddEnabled) return;
whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx+'px';
whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety+'px';
return false;}
function ddN4(whatDog){
if (!isN4) return;
N4=eval(whatDog);
N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
N4.onmousedown=function(e){
N4.captureEvents(Event.MOUSEMOVE);
N4x=e.x;
N4y=e.y;}
N4.onmousemove=function(e){
if (isHot){
N4.moveBy(e.x-N4x,e.y-N4y);
return false;}}
N4.onmouseup=function(){
N4.releaseEvents(Event.MOUSEMOVE);}}
function hideMe(){
if (isIE||isNN) whichDog.style.visibility="hidden";
else if (isN4) document.message2.visibility="hide";}
function showMe(){
if (isIE||isNN) whichDog.style.visibility="visible";
else if (isN4) document.message2.visibility="show";}
document.body.onmousedown=ddInit;
document.onmouseup=Function("ddEnabled=false");
function keyDown(e, trace){
if (trace=="home"){
var n=(window.Event) ? e.which : e.keyCode;
if(n==9 && document.getElementById('message2').className=="don"){return false;}else if(n==32 && document.getElementById('message2').className=="don"){return false;}
else if(n==27 && document.getElementById('message2').className=="don"){blowup_off();}}
else{
var n=(window.Event) ? e.which : e.keyCode;
if(n==9 && p_blo.className=="don"){return false;}else if(n==32 && p_blo.className=="don"){return false;}else if(n==27 && p_blo.className=="don"){blowup_hide();}if((n==37 && p_blo.className=="don") || (n==38 && p_blo.className=="don")){if (imgid==1){return false;}previousimg();}else if((n==39 && p_blo.className=="don") || (n==40 && p_blo.className=="don")){if (imgid==dataref.length){return false;}nextimg();return false;}}}


function aboutus(url){
var abt = document.getElementById('about');
var hom = document.getElementById('homenew');
var prd = document.getElementById('prd');
if(url=='p'){if(prd){prd.style.width="25%";prd.className="bo g9 tc bg s";prd.innerHTML='<P><A HREF="javascript:aboutus(\'ps\')">PRODUCTS &amp; SERVICES</A></P>'; }hom.style.width="10%";abt.style.width="15%";location.href='#profile';hom.className="bo g9 tc";abt.className="tbg tc bg1";hom.innerHTML='<P><A HREF="javascript:aboutus(\'h\')">HOME</A></P>';abt.innerHTML='<P CLASS="nh1 bg"><B CLASS="q as bg1">ABOUT US</B></P>';}else if(url=='h'){if(prd){prd.className="bo g9 tc bg s";prd.style.width="25%";prd.innerHTML='<P><A HREF="javascript:aboutus(\'ps\')">PRODUCTS &amp; SERVICES</A></P>';hom.style.width="13%";abt.style.width="12%";}location.href='#home';hom.className="tbg tc bg1";abt.className="bo g9 tc";hom.innerHTML='<P CLASS="nh bg"><B CLASS="q hm bg">HOME</B></P>';abt.innerHTML='<P><a href="javascript:aboutus(\'p\')">ABOUT US</A></P>';}else if(url=='ps'){prd.style.width="27%";prd.className="tbg tc bg1";prd.innerHTML='<P CLASS="nh1 bg"><B CLASS="q w bg1">PRODUCTS &amp; SERVICES</B></P>';hom.style.width="10%";hom.className="bo g9 tc";	hom.innerHTML='<p><A HREF="javascript:aboutus(\'h\')">HOME</A></P>';location.href='#products';if(abt){abt.innerHTML='<P><a href="javascript:aboutus(\'p\')">ABOUT US</A></P>';abt.style.width="13%";abt.className="bo g9 tc bg s";}}}
function funcTextNewWindow(url){location.href=url;}
function glusrhome()
{
var value = "";
value = readCookie('v4iil');

var url = document.URL;
var redirect = "";

if(url.match('/cgi/'))
{redirect = '/';
}
else
{
if(url.match('signout.html'))
{
redirect = '/';
}
else
{
redirect = escape(url);
}
}
if(value == null || value == "")
{
if (document.getElementById('usrsign'))
{
document.getElementById('usrsign').innerHTML='<A href="http://www.indiamart.com/" target="_top">IndiaMART Home</A>&nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://dir.indiamart.com/cgi/glusr.mp?login=true&modid=DIR&redirect='+redirect+'" target="_top">Sign In</A> &nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://my.indiamart.com/cgi/glusr-reg1.mp?action=newreg1&modid=MY&redirect='+redirect+'" target="_top">Join Free</A> &nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://my.indiamart.com/" target="_top">My Profile</A> &nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://www.indiamart.com/help/" target="_top">Help</A>&nbsp;&nbsp;';
}
}
else
{
if (document.getElementById('usrsign'))
{
document.getElementById('usrsign').innerHTML='<A href="http://www.indiamart.com/" target="_top">IndiaMART Home</A>&nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://dir.indiamart.com/cgi/glusr.mp?logoff=true&modid=DIR&redirect=/signout.html?redirect=/" target="_top">Sign Out</A> &nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://my.indiamart.com/" target="_top">My Profile</A> &nbsp;&nbsp;-&nbsp;&nbsp; <A HREF="http://www.indiamart.com/help/" target="_top">Help</A>&nbsp;&nbsp;';
}
}}
function readCookie(name)
{
var ca = document.cookie.split(';');
var nameEQ = name + "=";
for(var i=0; i < ca.length; i++)
{
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1, c.length); //delete spaces
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}
function showcontact(co, im)
{
if (document.getElementById(co).className=="doff")
{
document.getElementById(co).className="don";
document.getElementById(im).src="http://fcp.imimg.com/gifs/minus.gif";
}
else
{
document.getElementById(co).className="doff";
document.getElementById(im).src="http://fcp.imimg.com/gifs/plus1.gif";
}
}
