// JavaScript Document
<!-- Begin
var item = new Array();
c=0; item[c]=new Array("index.php","","GT Medical","index,main,start,home,front,INNOVATION","");
c++; item[c]=new Array("history.php","","GT Medical || History","History,history,Samir Abbas,established,relationship","");
c++; item[c]=new Array("value.php","","GT Medical || Value &amp; Vision","Value,history,Vision,established,relationship","");
c++; item[c]=new Array("buisness.php","","GT Medical || Buisness",
"Buisness,staff,departments,sales,collection,Store,Management,Finance,accounting,marketing","");
c++; item[c]=new Array("strategy.php","","GT Medical || Our Strength Point &amp; Strategy in Long Terms","strength,Point,departments,sales collection,Store Management,MOH,FDA,registration,pricing,Strategy,competitor,analysis,Market Trend,Customer orientations,Win,relationship","");
c++; item[c]=new Array("medical-division.php","","GT Medical || Medical Division",
"Medical,IVFonline,product,products,IVFtech,Labotect,MDT,MDG,Medical Technology,RI,Research Instruments,Sparmed,Sperm Processor,ZDL,Zavos Diagnostic Laboratories,equipments,company,companies,Jørgen Grinsted,LifeGlobal,Zenith Biotech,Fertilization,Universal GPS Dish,GPS,Dishware,ICSI,micromanipulation,µl,temperature,Kjeld Nielsen,Claus YdingAndersen,Denmark,Germany,laboratory,equipment,ISO13485,Medical Development &amp; Technology,BMedical Development &amp; Technology BV,Artificial Reproduction Technologies,ART,IVF,biomedical,Disinfectants,Semen Analysis Setup,IUI Setup,IVF-ICSI Setup,Computer Assisted Semen Analyzer,CASA,Semen Bank,Semen Analysis Chamber,Intra Uterine Insemination Device,Sperm Warmer,Processing of Human Frozen Semen,treatment","");
c++; item[c]=new Array("pharma-product.php","","GT Medical || Pharmaceutical Division",
"Pharmaceutical,products,Oenobiol Laboratories,Robelyn Labs,cosmetic","");
c++; item[c]=new Array("contact-info.php","","GT Medical || Contact Information",
"Contact,e-mail,email,fax,office,telephone,address","");
c++; item[c]=new Array("contact-info.php","","GT Medical || Contact Form",
"Contact,form,Inquairy,send,communicate,communication","");
c++; item[c]=new Array("contact-info.php","","GT Medical || Job Apply","job,form,apply,cv,employment,employ","");
c++; item[c]=new Array("innovation.php","","GT Medical || Pharmaceutical Innovation","Innovation,Pharmaceutical,latest,science,invention,new","");
c++; item[c]=new Array("innovation.php","","GT Medical || Medical Innovation","Innovation,Medical,latest,science,invention,new","");
c++; item[c]=new Array("topic.php","","GT Medical || Topic Details","Topic,Details,latest,science,invention,new","");
c++; item[c]=new Array("news.php","","GT Medical || News Details","News,Details,latest,science,invention,new","");
c++; item[c]=new Array("privacy-policy.php","","GT Medical || privacy Policy","privacy,policy","");

var line=''
function search(frm) {
txt = frm.srchval.value.split(" ");
fnd = new Array(); total=0;
for (i = 0; i < item.length; i++) {
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, n);
fnd[w] = 0;
}
// these lines is to determine the path in the admin folder or in the root folder to open the search result page.
var key=/admin/;
//new URL = window.location.protocol + "//" + window.location.host + "/" + window.location.pathname;
matchPos1 = window.location.pathname.search(key);
if(matchPos1 != -1){
	window.location.href ="../search-result.php?cont.value="+line+"";
} else {
	window.location.href ="search-result.php?cont.value="+line+"";
}
}
function show(which,num) {
link = item[which][1] + item[which][0]; 
line += link+item[which][2]+"1";
return 1;
}
//  End -->

<!-- end of search code -->
function w(){
document.getElementById('c').style.display='block';
document.getElementById('c').style.position='absolute'; 
document.getElementById('c').style.height='30px'; 
document.getElementById('c').style.top='35px'; 
document.getElementById('c').style.left='0';
}
function h(){
document.getElementById('c').style.display='none';

}

