var winx = (screen.width - 435) / 2;
var main=new CreerMain(winx,2,14);
m1=new CreerMenu("m1",0,"");
main.Add("En Bref |",63,"m1","");
m1.add("Notre soci&eacute;t&eacute",pathway+"fr_societe.asp","","");
m1.add("-","","","");
m14=new CreerMenu("m14",1,"");
m1.add("Qualit&eacute;",pathway+"fr_quality.asp",m14,"");
m14.add("Politique Qualit&eacute;",pathway+"fr_quality.asp","","");
//m14.add("Accr&eacute;ditation",pathway+"fr_accreditation.asp","","");
m14.add("Danaher Business System",pathway+"fr_dbs.asp","","");
m1.add("-","","","");
//m1.add("Ev&egrave;nements",pathway+"all_events.asp?lang=2","","");
m1.add("Distributeurs",pathway+"fr_reseau_france.asp","","");
m12=new CreerMenu("m12",0,"");
main.Add("News |",40,"m12",pathway+"news/fr_news.asp");
m13=new CreerMenu("m13",1,"");
m12.add("Nouveautés",pathway+"news/fr_news.asp","","");
m12.add("-","","","");
m12.add("Archives e-NewsLetter",pathway+"fr_newsletter.asp",m13,"");
m13.add("e-NewsLetter #10 - Mars 2006",pathway+"fr_newsletter10.asp","","");
m13.add("e-NewsLetter  #9 - Mai 2005",pathway+"fr_newsletter9.asp","","");
m13.add("e-NewsLetter  #6 - Juillet 2003",pathway+"fr_newsletter6.asp","","");
m13.add("e-NewsLetter  #5 - Décembre 2002",pathway+"fr_newsletter5.asp","","");
m13.add("e-NewsLetter  #4 - Octobre 2002",pathway+"fr_newsletter4.asp","","");
m13.add("e-NewsLetter  #3 - Mars 2002",pathway+"fr_newsletter3.asp","","");
m13.add("e-NewsLetter  #2 - Juin 2001",pathway+"fr_newsletter2.asp","","");
m13.add("e-NewsLetter  #1 - Mars 2001",pathway+"fr_newsletter1.asp","","");
m12.add("-","","","");
m12.add("Recevez notre e-NewsLetter","javascript:AffNewPop(pathway+'forms/all_register.asp?lang=2',500,716,1,1);","","");
m2=new CreerMenu("m2",0,"");
main.Add("Produits |",58,"m2","");
m4=new CreerMenu("m4",1,"");
m2.add("Produits par Technique",pathway+"fr_products_technique.asp",m4,"");
m4.add("pH-m&eacute;trie, conductim&eacute;trie et ionom&eacute;trie",pathway+"fr_meterlab.asp","","");
m4.add("Titrage et pH-stat",pathway+"fr_titralab.asp","","");
m4.add("Analyse de traces",pathway+"fr_trace.asp","","");
m4.add("Voltamm&eacute;trie, imp&eacute;dance-m&eacute;trie",pathway+"fr_voltalab.asp","","");
m4.add("-","","","");
m4.add("Cryoscopie, Osmom&eacute;trie, Fluorim&eacute;trie",pathway+"fr_fiske.asp","","");
m4.add("-","","","");
m4.add("Développements externes",pathway+"fr_developpements_externes.asp","","");
m2.add("-","","","");
m3=new CreerMenu("m3",1,"");
m2.add("Produits par Gamme",pathway+"fr_products_range.asp",m3,"");
m3.add("MeterLab<sup>&reg;</sup>",pathway+"fr_meterlab.asp","","");
m3.add("TitraLab<sup>&reg;</sup>",pathway+"fr_titralab.asp","","");
m3.add("TraceLab<sup>&reg;</sup>",pathway+"fr_trace.asp","","");
m3.add("VoltaLab<sup>&reg;</sup>",pathway+"fr_voltalab.asp","","");
m3.add("-","","","");
m3.add("Fiske et Advanced Instruments",pathway+"fr_fiske.asp","","");
m3.add("-","","","");
m3.add("Développements externes",pathway+"fr_developpements_externes.asp","","");
m2.add("-","","","");
m2.add("T&eacute;moignages utilisateurs",pathway+"fr_testimonials.asp","","");
//m2.add("-","","","");
//m2.add("Nos formations",pathway+"formation/fr_index.asp","","");
m5=new CreerMenu("m5",0,"");
main.Add("Centre de ressources |",135,"m5",pathway+"fr_resource_centre.asp");
m6=new CreerMenu("m6",1,"");
m5.add("pH-m&eacute;trie, conductim&eacute;trie et ionom&eacute;trie",pathway+"all_resource_centre.asp?code=211",m6,"");
m6.add("Documentations MeterLab<sup>&reg;</sup>",pathway+"all_resource_centre.asp?code=212","","");
m6.add("Notes d'Application",pathway+"all_resource_centre.asp?code=213","","");
m6.add("Documentations G&eacute;n&eacute;rales",pathway+"all_resource_centre.asp?code=214","","");
m6.add("Brochures Commerciales ",pathway+"all_resource_centre.asp?code=215","","");
m6.add("Manuels d'Utilisation",pathway+"all_resource_centre.asp?code=216","","");
m6.add("Mise &agrave; jour de Logiciels",pathway+"all_resource_centre.asp?code=217","","");
m6.add("FDS",pathway+"all_resource_centre.asp?code=218","","");
m5.add("-","","","");
m7=new CreerMenu("m7",1,"");
m5.add("Titrage et pH-stat",pathway+"all_resource_centre.asp?code=221",m7,"");
m7.add("Documentations TitraLab<sup>&reg;</sup>",pathway+"all_resource_centre.asp?code=222","","");
m7.add("Notes d'Application",pathway+"all_resource_centre.asp?code=223","","");
m7.add("Documentations G&eacute;n&eacute;rales",pathway+"all_resource_centre.asp?code=224","","");
m7.add("Brochures Commerciales ",pathway+"all_resource_centre.asp?code=225","","");
m7.add("Manuels d'Utilisation",pathway+"all_resource_centre.asp?code=226","","");
m7.add("Mise &agrave; jour de Logiciels",pathway+"all_resource_centre.asp?code=227","","");
m7.add("FDS",pathway+"all_resource_centre.asp?code=228","","");
m5.add("-","","","");
m8=new CreerMenu("m8",1,"");
m5.add("Analyse de traces",pathway+"all_resource_centre.asp?code=231",m8,"");
// m8.add("Documentations TraceLab<sup>&reg;</sup>",pathway+"all_resource_centre.asp?lang=2&range=3&page=2","","");
m8.add("Notes d'Application",pathway+"all_resource_centre.asp?code=233","","");
// m8.add("Documentations G&eacute;n&eacute;rales",pathway+"all_resource_centre.asp?lang=2&range=3&page=4","","");
m8.add("Brochures Commerciales ",pathway+"all_resource_centre.asp?code=235","","");
m8.add("Séquences préprogrammées",pathway+"all_resource_centre.asp?code=236","","");
m8.add("Logiciel",pathway+"all_resource_centre.asp?code=237","","");
m8.add("FDS",pathway+"all_resource_centre.asp?code=238","","");
m5.add("-","","","");
m9=new CreerMenu("m9",1,"");
m5.add("Voltamm&eacute;trie, imp&eacute;dance-m&eacute;trie",pathway+"all_resource_centre.asp?code=241",m9,"");
// m9.add("Documentations VoltaLab<sup>&reg;</sup>",pathway+"all_resource_centre.asp?lang=2&range=4&page=2","","");
m9.add("Séquences préprogrammées",pathway+"all_resource_centre.asp?code=243","","");
m9.add("Logiciels",pathway+"all_resource_centre.asp?code=244","","");
m9.add("Brochures Commerciales ",pathway+"all_resource_centre.asp?code=245","","");
m9.add("Manuels d'Utilisation",pathway+"all_resource_centre.asp?code=246","","");
// m9.add("Mise &agrave; jour de Logiciels",pathway+"all_resource_centre.asp?lang=2&range=4&page=7","","");
m9.add("FDS",pathway+"all_resource_centre.asp?code=248","","");
m11=new CreerMenu("m11",0,"");
main.Add("Mes Infos |",67,"m11","");
m11.add("Modifiez vos données personnelles","javascript:AffNewPop(pathway+'forms/all_accessmyprofile.asp?lang=2',500,716,1,1);","","");
m11.add("Recevez notre e-NewsLetter","javascript:AffNewPop(pathway+'forms/all_register.asp?lang=2',500,716,1,1);","","");
main.Add("Carte du site |",90,"",pathway+"fr_sitemap.asp");
m10=new CreerMenu("m10",0,"");
main.Add("Contact",50,"m10","");
m10.add("Demande d'infos","javascript:AffNewPop(pathway+'forms/all_accessdownload.asp?lang=2&rfree=5',500,716,1,1);","","");
m10.add("Distributeur",pathway+"fr_reseau_france.asp","","");
m10.add("Questionnaire de satisfaction","javascript:AffNewPop(pathway+'forms/all_accessdownload.asp?lang=2&rfree=66',500,716,1,1);","","");

m10.add("Envoyez-nous un email","mailto:sales@nalytical.com?subject=from%20radiometer%20analytical%20website","","");
var font="verdana,arial,ms sans serif";
var colBarre="transparent";
var colFond="#40B1C6";
var colContour="#001B44";
var colOver="white";
var colTextOff="white";
var colTextOn="#001B44";
var cssTexte=";color:white;font-family:verdana,arial,ms sans serif;font-size:11px";
var hauteur=15;
var nivmax=4;
var delai=100;
var isout=0;



function CreerMain(X,Y,haut,colFOn,colFOff,colTOn,colTOff) {this.nb=0;this.X=X;this.Y=Y;this.haut=haut;this.Add=AddMain;this.Print=PrintMain;}
function AddMain(txt,larg,mnu,url,target) {var m=new Object; m.txt=txt;m.larg=larg,m.mnu=mnu,m.url=url;m.target=target;this.nb++;this[this.nb]=m;if(mnu!=''){eval(mnu+'.parent="'+txt+'"')};}
function PrintMain() {
	X=this.X; Y=this.Y; A="";
	for (var i=1;i<=this.nb;i++) {
 if (this[i].mnu==""){this[i].mnu='0';}
		if ((document.all)||(window.sidebar)) {
         var clic=""; if(this[i].url!="") {clic=" onclick='window.location=\""+this[i].url+"\"'";}
			A+="<DIV id='main"+i+"' style='position:absolute;cursor:hand;left:"+X+";top:"+Y+";width:"+this[i].larg+";height:"+this.haut+";background-color:"+colBarre+";"+cssTexte+";text-align:center' onmouseover='start("+i+","+this[i].mnu+","+X+","+(Y+this.haut+1)+")'"+clic+">"+this[i].txt+"</DIV>";
		}
		if (document.layers) {
	var txt=this[i].txt;if(this[i].url!="") {txt="<A href='"+this[i].url+"'>"+txt+"</A>";}
       A+="<LAYER name='main"+i+"' left="+X+" top="+Y+" width="+this[i].larg+" height="+this.haut+" bgcolor="+colBarre+"  onmouseover='start("+i+","+this[i].mnu+","+X+","+(Y+this.haut+1)+")'><CENTER><SPAN style='background-color:"+colBarre+cssTexte+"'>"+txt+"</SPAN></CENTER></LAYER>";
		}
		X+=this[i].larg+1;
	}
	document.write(A);
}
function CreerMenu(nom,niv,target) {this.nb=0; this.X=0;this.Y=0; this.width=1; this.niv=niv; this.parent=""; this.ON=-1;this.nom=nom;this.target=""; if ((target!="")&&(target!=null)) this.target=target;this.add=Add;this.aff=Aff;}
function Add(lib,lnk,mnu,target) {var rub = new Object;	rub.lib=lib; rub.target=target;	rub.lnk=""; if ((lnk!="")&&(lnk!=null)) rub.lnk=lnk; rub.mnu=""; if ((mnu!="")&&(mnu!=null)) {rub.mnu=mnu; mnu.parent=this}	this[this.nb]=rub;	this.nb++;}
function start(i,mnu,x,y) {
	isout=1;hideall(i);
	if (mnu!=0){mnu.aff(x,y)};
	BGCalque("main"+i,colOver);	FontCalque("main"+i,colTextOn);
	MoveCalque("fond",x-50,y+1);
	ShowCalque("fond");
	return false;
}
function onfond() {
	isout=1;
	setTimeout("hideall()",delai);
}
function hideall(i) {
	if (isout==1) {
		for (var i=0;i<nivmax;i++) {HideCalque("niv"+i); HideCalque("fond");}
		for (var i=1;i<=main.nb;i++) {BGCalque("main"+i,colBarre); FontCalque("main"+i,colTextOff);}
	window.status=""
	}
}
function hide(mnu) {
	if (mnu.ON>-1) {
		if (mnu[mnu.ON].mnu!="") {
			var nom="niv"+mnu[mnu.ON].mnu.niv;
			HideCalque(nom);
			hide(mnu[mnu.ON].mnu);
		}
	}
	mnu.ON=-1;
}
function over(mnu,i) {
	var nom="niv"+mnu.niv+"n"+i;
	var nomtd=nom+"td";
	isout=0;
	BGCalque(nom,colOver);
	FontCalque(nomtd,colTextOn);
}
function out(mnu,i) {
	var nom="niv"+mnu.niv+"n"+i; 	var nomtd=nom+"td";
	if (mnu[i].lib!="-") {
		BGCalque(nom,colFond);
		FontCalque(nomtd,colTextOff)
	}
}
function clear(mnu) {
	  for (var j=0;j<mnu.nb;j++) {
	   out(mnu,j);
	   hide(mnu);
	}
}
function mmover(mnu,i) {
	clear(mnu);
	over(mnu,i);
	mnu.ON=i;
	if (mnu[i].mnu!="") {
		mnu[i].mnu.aff();
	}
var ok=1; var Y=""; var Z=mnu[i].lib; var u=mnu; while (u.niv>0) {Z=u.parent[u.parent.ON].lib+" > "+Z;u=u.parent;} Z=u.parent+" > "+Z;
for (var j=0;j<Z.length ;j++ ){
	if (Z.charAt(j)=="<") {ok=0;}
	if (ok==1) {Y+=Z.charAt(j) }
	if (Z.charAt(j)==">") {ok=1;}
}window.status="";
}
function mmclick(mnu) {
	lnk=mnu[mnu.ON].lnk;
	if (lnk!="") {
		if (mnu[mnu.ON].target=="_blank") {window.open(lnk)}
		else {window.location=lnk;}
	}
}
function AFF() {
var n=new Image; n.src=pathway+"images/all/fleche.gif";var m=new Image; m.src=pathway+"images/all/vide.gif";	if ((document.all)||(window.sidebar)) {
var A="<DIV id='fond' style='position:absolute;border=1px;top:10;left:100;width:230;height:440;visibility:hidden;font-family:"+font+"' onmouseover='onfond()'></DIV>";A+="<DIV id='niv0' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";A+="<DIV id='niv1' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";A+="<DIV id='niv2' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";A+="<DIV id='niv3' style='position:absolute;top:10;left:100;visibility:visible;font-family:"+font+"'></DIV>";} else {var A="<LAYER name='fond' width=230 height=440 visibility=hide top=100 left=100 onmouseover='onfond()'>&nbsp;</LAYER>";A+="<LAYER name='niv0' top=200 left=200 visibility=show></LAYER>";A+="<LAYER name='niv1' top=200 left=200 visibility=show></LAYER>";A+="<LAYER name='niv2' top=200 left=200 visibility=show></LAYER>";A+="<LAYER name='niv3' top=200 left=200 visibility=show></LAYER>";}	
document.write(A);main.Print();
}
function Aff(x,y) {
var nom=this.nom;	var niv="niv"+this.niv;
if (this.niv==0) {X=x;Y=y;}
else {X=this.parent.X+this.parent.width-7;Y=this.parent.Y+(hauteur-4)*this.parent.ON}if ((document.all)||(window.sidebar)) {
var A=""
A+="<TABLE border=0 cellpadding=0 cellspacing=0><TR><TD>"
A+="<TABLE border=0 cellpadding=0 cellspacing=0 style='border-color:"+colContour+";border-style:solid;border-width:1px'>";
for (var i=0;i<this.nb;i++) {
if (this[i].lib=="-") {
A+="<TR><TD style='font-size:10px;border-style:none;margin:0px;height:"+(hauteur-12)+"px' colspan=2 ><DIV  style='background-color:"+colFond+";height:"+(hauteur-12)+"px'><img src='"+pathway+"images/all/tr_blc.gif' width=100% height=1 ></DIV></TD></TR>"; 
} else {
var img=pathway+"images/all/vide.gif";if (this[i].mnu!="") { img=pathway+"images/all/fleche.gif"}
A+="<TR><TD style='cssTexte;border-style:none;margin:0px'><DIV id='"+niv+"n"+i+"' style='cursor:hand;background-color:"+colFond+cssTexte+"'  onmouseover='mmover("+this.nom+","+i+")' onClick='mmclick("+this.nom+")'><TABLE border=0 width=100% cellspacing=0><TR><TD style='font-size:12px;padding-top:3px;padding-bottom:3px;padding-left:3px;'><DIV id='"+niv+"n"+i+"td' style='"+cssTexte+"'>"+this[i].lib+"</DIV></TD><TD width=10 align=right><IMG src='"+img+"' height='"+hauteur+"' width='"+hauteur+"'></TD></TR></TABLE></DIV></TD></TR>";
}
}
A+="</TABLE>"
A+="</TD><TD width=3 bgcolor=#001B44 style='filter:alpha(opacity=30)'><IMG src='"+pathway+"images/all/fleche.gif' width=2></TD><TD width=2 bgcolor=#001B44 style='filter:alpha(opacity=15)'><IMG src='"+pathway+"images/all/fleche.gif' width=2></TD></TR>";
A+="<TR><TD height=3 colspan=2 bgcolor=#001B44 style='filter:alpha(opacity=30)'><IMG src='"+pathway+"images/all/fleche.gif' height=3></TD></TR><TR><TD height=2 colspan=2 bgcolor=#001B44 style='filter:alpha(opacity=15)'><IMG src='"+pathway+"images/all/fleche.gif' height=2></TD></TR></TABLE>";
}else{
var A="<table border=0 cellspacing=0 cellpadding=1><tr><td bgcolor="+colContour+">";
A+="<TABLE border=0 cellpadding=0 cellspacing=0 bgcolor="+colFond+" width=100%>";
for (var i=0;i<this.nb;i++) {
if (this[i].lib=="-") {
A+="<TR><TD><HR width=99% height=1%><img src='"+pathway+"images/all/tr_blc.gif' width=100% height=1></TD></TR>";
} else {
var img=pathway+"images/all/vide.gif";if (this[i].mnu!="") { img=pathway+"images/all/fleche.gif"}
A+="<TR><TD><TABLE border=0 width=100% cellspacing=0><TR><TD><A href='javascript:mmclick("+this.nom+")' onmouseover='mmover("+this.nom+","+i+")'><SPAN style='background-color:"+colFond+cssTexte+"'>"+this[i].lib+"</SPAN></A></TD><TD width=10 align=right><IMG src='"+img+"' height=15 width=15></TD></TR></TABLE></TD></TR>";
}
}
A+="</TABLE></TD</TR></TABLE>"
}
if (document.all) {document.all[niv].innerHTML=A;document.all[niv].style.top=Y;document.all[niv].style.left=X;document.all[niv].style.visibility="visible";this.X=X;this.Y=Y;this.width=document.all[niv].clientWidth;}
if (window.sidebar) {document.getElementById(niv).innerHTML=A;document.getElementById(niv).style.top=Y;document.getElementById(niv).style.left=X;document.getElementById(niv).style.visibility="visible";this.X=X;this.Y=Y;this.width=document.getElementById(niv).offsetWidth;}
if (document.layers) {document.layers[niv].left=X;document.layers[niv].top=Y;document.layers[niv].document.write(A);document.layers[niv].document.close();document.layers[niv].visibility="show";this.X=X;this.Y=Y;this.width=document.layers[niv].clip.width;}}
function HideCalque(nom) {
if (document.all) {document.all[nom].style.visibility="hidden";}
if (window.sidebar) {document.getElementById(nom).style.visibility="hidden";}
if (document.layers) {document.layers[nom].visibility="hide";}
}
function ShowCalque(nom) {
if (document.all) {document.all[nom].style.visibility="visible";}
if (window.sidebar) {document.getElementById(nom).style.visibility="visible";}
if (document.layers) {document.layers[nom].visibility="show";}
}
function BGCalque(nom,BG) {
if (document.all) {document.all[nom].style.backgroundColor=BG;}
if (window.sidebar) {document.getElementById(nom).style.backgroundColor=BG;}
}
function FontCalque(nom,Font) {
if (document.all) {document.all[nom].style.color=Font;}
if (window.sidebar) {document.getElementById(nom).style.color=Font;}
}
function MoveCalque(nom,X,Y) {
if (document.all) {document.all[nom].style.top=Y;document.all[nom].style.left=X;}
if (window.sidebar) {document.getElementById(nom).style.top=Y;document.getElementById(nom).style.left=X;}
if (document.layers) {document.layers[nom].top=Y;document.layers[nom].left=X;}
}
function GetLeft(nom) {
if (document.all) {return document.all[nom].style.left;}
if (window.sidebar) {return document.getElementById(nom).style.left}
if (document.layers) {return document.layers[nom].left;}
}

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 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;
}

/* Functions that handle preload. */
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];}}
}

// stop hiding -->

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function AddBookmark() { 

window.external.AddFavorite(location.href, document.title);

}

function AffBookmark(text) { 
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Microsoft Internet Explorer" && browserVer >= 4)
{
document.write(" | <a href='javascript:AddBookmark();' class='text_blc'>"+text+"</a>");
}
}

function AffNewPop(url,ht,lg,sb,st) {
var xhauteur=ht;
var xlargeur=lg;
var ranNum= Math.round(Math.random()*10);
var newin="newin"+ranNum;
var winl = (screen.width - xlargeur) / 2;
var wint = ((screen.height - xhauteur) -20) / 2;
winprops = 'height='+xhauteur+',width='+xlargeur+',top='+wint+',left='+winl+',scrollbars='+sb+',status='+st;
winpopup = window.open(url, newin, winprops);
winpopup.focus();

}
function AffNewPop_m(ids,ht,lg,sb,st) {
var id=ids;
If (id == '1')
{
var url="fr_product_details.asp?pid="+id;
var xhauteur=ht;
var xlargeur=lg;
var ranNum= Math.round(Math.random()*10);
var newin="newin"+ranNum;
var winl = (screen.width - xlargeur) / 2;
var wint = ((screen.height - xhauteur) -20) / 2;
winprops = 'height='+xhauteur+',width='+xlargeur+',top='+wint+',left='+winl+',scrollbars='+sb+',status='+st;
winpopup = window.open(url, newin, winprops);
winpopup.focus();
}

}
function refreshParent() {
var newref=  window.opener.location.href;
window.opener.location.href = newref;
}


if (parent.frames.length > 0) {
    parent.location.href = self.document.location
}
