var Scrolling_Content;
var Actual_Scroll = 1;
var panel_Scroll;
var panel_Meet;
var Defil_Middle = 1;
var Defil_Max = 5;
var panel_Awards;
var panel_Products;

var OV1;
var OV2;
var OV3;
	
var PR_1;
var PR_2;
var PR_3;
var PR_4;
var allImgs = new Array();
var contactLoaded = false;
var _tLoade = null;
var Index_Anim_Rond = 1;
var Timer_Show_Anim_Rond;
var Timer_Wait;

if (ie5) 
{
	document.write ('<link rel="stylesheet" type="text/css" href="/styles/IE.css"	rel="stylesheet" title="UserStyle">')
}
else
{
	document.write ('<link rel="stylesheet" type="text/css" href="/styles/FF.css"	rel="stylesheet" title="UserStyle">')
}	

Save_Referrer(document.referrer);
var old_top_xmedia ;
var old_obj_xmedia = null;
var Old_Company_Part;
var Number_Of_Page_Product = 0;
var Current_Page = 0;
var scrollDiv;


var Over_Scroll = false;
function Change_Screen_Appli(n)
{
     document.getElementById(Application_Sel).style.background = "url('/img/" + Application_Sel + n + ".png')  no-repeat left";
}
var Panel_Stopped=false;

function Init_Worldwide(lng)
{
var Mappe = document.getElementById("Mappe_World");
affdate();
if (document.getElementById("placeforaffdate")) document.getElementById("placeforaffdate").parentNode.parentNode.parentNode.style.width="460px";
InitMenus();
Init_Scroll_WorldWide();
LoadContacts();

loaded=true;

document.getElementById('Mask_All').style.filter = "alpha(opacity=65)";
document.getElementById('Mask_All').style.opacity = "0.6";
document.getElementById('Mask_All').style.KhtmlOpacity = "0.6";
document.getElementById('Mask_All').style.MozOpacity = "0.6";

Mappe.style.left = "-100px";
Mappe.style.top  = "-101px";

var frmeteo = document.createElement('iframe')
frmeteo.style.display = 'none';
frmeteo.src = "/meteo.htm";
frmeteo.id = 'Frame_Meteo';
document.body.appendChild(frmeteo);

bgImage.src = "/img/auto-dialer-systems.png";
var img = new Image();  img.src= "/img/World_Wide.gif"; allImgs.push(img);
var img = new Image();  img.src= "/img/Europe_On.gif"; allImgs.push(img);
var img = new Image();  img.src= "/img/World_Wide_on.gif"; allImgs.push(img);
var img = new Image();  img.src= "/img/Europe.gif"; allImgs.push(img);
var img = new Image();  img.src= "/img/avaya-dialers.jpg"; allImgs.push(img);
var img = new Image();  img.src= "/img/avaya-dialer.jpg"; allImgs.push(img);
var img = new Image(); img.src = "/img/advanced-call-center.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/bg_contact.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/Ronds1.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/Ronds2.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/Ronds3.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/Ronds4.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/Ronds5.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/Ronds6.png"; allImgs.push(img);
var img = new Image(); img.src = "/img/close.png"; allImgs.push(img);

var log = document.getElementById("Move_Logo");
if (log) {
log.innerHTML = "<object  style=\"margin-top:13px;margin-left:24px\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" height=56 width=\"223\" VIEWASTEXT ID=\"Object1\"><param name=\"quality\" value=\"high\"><param name=\"menu\" value=\"false\"><param name=\"wmode\" value=\"transparent\"><param name=\"SRC\" value=\"/img/logo.swf\"><embed style=\"margin-top:7px;border-top:1px solid gray;\" src=\"/img/logo.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" height=\"57\" width=\"223\"></embed><noembed></noembed></object>"
}

var dC = document.getElementById("DivContact");
if (dC) {
//dC.innerHTML = '<img onclick="Show_Moveable_Popup(true, \'PopContact\', After_Open_Contact, \'main\', \'POPUP_CONTACT\', 723, 83, 625, 111, 108, 26, 331, 363, 12, \'/img/acd-software.png\', \'Content_Table_Contact\');" 	src="/img/contact_red1.png" style="position:relative;left:-125px;top:0px" height=28 width=100>';

 if (typeof(flName) == "undefined") flName = '/img/NousContacter.swf';
 dC.innerHTML = '<div style="position:absolute;top:3;left:-125;z-index:2;width:91;height:20;background-color:red;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;" onclick="Show_Moveable_Popup(true, \'PopContact\', After_Open_Contact, \'main\', \'POPUP_CONTACT\', 720, 90, 535, 111, 108, 26, 331, 363, 12, \'/img/acd-software.png\', \'Content_Table_Contact\');"></div><object style="position:relative;top:3;left:-125;z-index:0;width:91;height:20" align=absmiddle classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="20" width="91" VIEWASTEXT><param name="quality" value="high"><param name="menu" value="false"><param name="SRC" value="' + flName + '"><param name="wmode" value="transparent"><embed src="' + flName + '" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="20" width="91"></embed><noembed></noembed></object>';

}
_tLoade = setInterval("TestLoading()", 1);
}

function TestLoading()
{
	if (bgImage.complete && contactLoaded)
	{
		for (var i = 0; i < allImgs.length; i++)
		{
			if (!allImgs[i].complete) return false;
		}
		for (var i = 0; i < contacts.length; i++)
		{
			if (typeof(contacts[i].extended) == "undefined") return;
		}
		clearInterval(_tLoade);
		var loading = document.getElementById("DIV_LOADING");
		if (loading) {loading.style.display = "none"; loading.innerHTML = ""; }
		document.body.style.overflow = "auto";
		return true;
	}
	else return false;
}

function Init_Scroll_WorldWide()
{
 	panel_News = new Panel("panel_2", abspath);
	panel_News.SetWidth(567);
	panel_News.SetHeight(25);
	panel_News.SetAutoScroll(true);
	panel_News.SetSize(2);
	panel_News.SetStyle('c');
	panel_News.Display(VoIP_Call_Center_Software("Vocalcom Worldwide, contact us ..."));
	panel_News.SetSpeed(6);
	panel_News.SetColor("#40FF40");
	panel_News.AddTo(document.getElementById("Scroll_Titre"));
	PreloadText(panel_News, VoIP_Call_Center_Software("Vocalcom Worldwide, contact us ..."));
}

function PreloadText(panel, str)
{
	if (!panel) return;
	for (var i = 0; i < str.length; i++)
	{
		var _char = charList[str.charAt(i)];
		if (!_char)	_char = charList[' '];
		var todisplay = _char[0];
	
		var img = new Image();
		img.src = panel.basePath + "char/" + todisplay + panel.end;
		allImgs.push(img);
	}
}


var open_P_X;


var Timer_Mappe;
var Type_Mappe = true;

function Move_Mappe(X,Y)
{
	if (!loaded) return;
	
	var Mappe = document.getElementById("Mappe_World");
	var X1 = parseInt(Mappe.style.left,10);
	var Y1 = parseInt(Mappe.style.top,10);
	var W1 = parseInt(Mappe.style.width,10);
	var H1 = parseInt(Mappe.style.height,10);

	if (  (-(X1+X)) > (W1-669) ) return
	if (  (-(Y1+Y)) > (H1-288) ) return
	if (  (X1+X)>=0 && X!=0) return
	if (  (Y1+Y)>=0 && Y!=0) return

	Mappe.style.left = X1 + X;
	Mappe.style.top  = Y1 + Y;
		
	Timer_Mappe = setTimeout(function () {Move_Mappe(X,Y);},100);
}
		
function SetMappe(t)
{
	if (!loaded) return;
		
	var Mappe = document.getElementById("Mappe_World");
	if (t==1)
	{
		Mappe.className = "Europe";
		Mappe.style.width = "669px";
		Mappe.style.height = "707px";
		document.getElementById("btn_WorldWide").src= "/img/World_Wide.gif";
		document.getElementById("btn_Europe").src= "/img/Europe_On.gif";
		Mappe.style.left = 0;
		Mappe.style.top  = '-230px';
		Type_Mappe = false;
	}
	else
	{
		Mappe.className = "World";
		Mappe.style.width = "1035px";
		Mappe.style.height = "592px";
		document.getElementById("btn_WorldWide").src= "/img/World_Wide_on.gif";
		document.getElementById("btn_Europe").src= "/img/Europe.gif";
		Mappe.style.left = "-150px";
		Mappe.style.top  = "-111px";
		Type_Mappe = true;
	}

}

function Check_Sub_World(evt)
{
	if (!loaded) return
	var Mappe = document.getElementById("Mappe_World");
	var l = parseInt(Mappe.style.left);
	var t = parseInt(Mappe.style.top) ;

	if (evt)
    {
	var ParL = -l + evt.clientX - FindLeftEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
	var ParT = -t + evt.clientY - FindTopEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
    }
    else
    {
	var ParL = -l + window.event.clientX - FindLeftEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
	var ParT = -t + window.event.clientY - FindTopEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
    }
	
	if (Type_Mappe && ParL>444 && ParL<517  && ParT>119 && ParT<192 ) // EUROP
	{	
		Mappe.style.cursor = 'pointer';
	}
	else if (Type_Mappe &&  ParL>200 && ParL<270  && ParT>142 && ParT<180 ) // CANADA
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('CA');
	}
	else if (Type_Mappe &&  ParL>140 && ParL<190  && ParT>180 && ParT<210 ) // USA
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('USA');
	}
	else if (Type_Mappe &&  ParL>70 && ParL<130  && ParT>240 && ParT<270 ) // MEXIQUE
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('MX_1');	
	}
	else if (Type_Mappe &&  ParL>260 && ParL<320  && ParT>400 && ParT<430 ) // BRAZIL
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('BR');
	}
	else if (Type_Mappe &&  ParL>210 && ParL<280  && ParT>500 && ParT<530 ) // ARGENTINA
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('AR');
	}
	
	else if (Type_Mappe &&  ParL>380 && ParL<450  && ParT>210 && ParT<240 ) // MAROC
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('MA');
	}
	else if (Type_Mappe &&  ParL>429 && ParL<476  && ParT>240 && ParT<270 ) // ALGERIE
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('AL');
	}	
	else if (Type_Mappe &&  ParL>460 && ParL<510  && ParT>210 && ParT<240 ) // TUNISIE
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('TU');
	}
	
	else if (Type_Mappe &&  ParL>600 && ParL<670  && ParT>225 && ParT<267 ) // DUBAI
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('AE');
	}

	else if (Type_Mappe &&  ParL>536 && ParL<606  && ParT>194 && ParT<221 ) // LIBAN
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('LI');
	}
	
	else if (Type_Mappe &&  ParL>525 && ParL<590  && ParT>170 && ParT<194 ) // LIBAN
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('TR');
	}
	
	else if (!Type_Mappe &&  ParL>310 && ParL<384  && ParT>240 && ParT<280 ) // DK
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('DK');
	}
			
	else if (!Type_Mappe &&  ParL>170 && ParL<208  && ParT>313 && ParT<348 ) // UK
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('UK');
	}
	else if (!Type_Mappe &&  ParL>280 && ParL<326  && ParT>312 && ParT<338 ) // NETHERLAND
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('NL');
	}
	else if (!Type_Mappe &&  ParL>273 && ParL<311  && ParT>350 && ParT<380 ) // BELGIUM
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('BE');
	}
	else if (!Type_Mappe &&  ParL>350 && ParL<400  && ParT>360 && ParT<400 ) // GERMANY
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('DE');
	}
	else if (!Type_Mappe &&  ParL>220 && ParL<275  && ParT>410 && ParT<450 ) // FRANCE
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('FR');
	}
	else if (!Type_Mappe &&  ParL>400 && ParL<445  && ParT>500 && ParT<530 ) // ITALY
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('IT');
	}		
	else if (!Type_Mappe &&  ParL>122 && ParL<160  && ParT>540 && ParT<570 ) // SPAIN MADRID
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('ES_M');
	}	
	else if (!Type_Mappe &&  ParL>210 && ParL<240  && ParT>530 && ParT<570 ) // SPAIN BARCELONE
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('ES');
	}
	else if (!Type_Mappe &&  ParL>90 && ParL<120  && ParT>610 && ParT<640 ) // SPAIN SEVILLE
	{
		Mappe.style.cursor = 'pointer';
		displayContactStartingAt('ES_S');
	}
	else
	{	
		Mappe.style.cursor = "default";
	}	
	
}

function Check_And_Show_World(evt)
{
	var Mappe = document.getElementById("Mappe_World");
	var l = parseInt(Mappe.style.left);
	var t = parseInt(Mappe.style.top) ;

	if (evt)
	{
		var ParL = -l + evt.clientX - FindLeftEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
		var ParT = -t + evt.clientY - FindTopEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
		var Target_T = ParT - t;
		var Target_L = ParL + l;
	}
	else
	{
		var ParL = -l + window.event.clientX - FindLeftEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
		var ParT = -t + window.event.clientY - FindTopEdge(document.getElementById("PLACE_MIDDLE_WORLDWIDE"));
		var Target_T = ParT - t;
	    var Target_L = ParL + l;
	}

	
	if (Type_Mappe && ParL>444 && ParL<517  && ParT>119 && ParT<192 ) // EUROP
	{	
		Show_Anim_Rond('SetMappe(1)',evt);
	}
	else if (Type_Mappe &&  ParL>200 && ParL<270  && ParT>142 && ParT<180 ) // CANADA
	{	
		Show_Anim_Rond("OpenContactPopup('CA');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (Type_Mappe &&  ParL>140 && ParL<190  && ParT>180 && ParT<210 ) // USA
	{
		Show_Anim_Rond("OpenContactPopup('USA');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (Type_Mappe &&  ParL>70 && ParL<130  && ParT>240 && ParT<270 ) // MEXIQUE
	{
		Show_Anim_Rond("OpenContactPopup('MX');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (Type_Mappe &&  ParL>260 && ParL<320  && ParT>400 && ParT<430 ) // BRAZIL
	{
		Show_Anim_Rond("OpenContactPopup('BR');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (Type_Mappe &&  ParL>210 && ParL<280  && ParT>500 && ParT<530 ) // ARGENTINA
	{
		Show_Anim_Rond("OpenContactPopup('AR');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	
	else if (Type_Mappe &&  ParL>380 && ParL<450  && ParT>210 && ParT<240 ) // MAROC
	{
		Show_Anim_Rond("OpenContactPopup('MA');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}

	else if (Type_Mappe &&  ParL>429 && ParL<476  && ParT>240 && ParT<270 ) // ALGERIE
	{
		Show_Anim_Rond("OpenContactPopup('AL');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}

	else if (Type_Mappe &&  ParL>460 && ParL<510  && ParT>210 && ParT<240 ) // TUNISIE
	{
		Show_Anim_Rond("OpenContactPopup('TU');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	
	else if (Type_Mappe &&  ParL>600 && ParL<670  && ParT>225 && ParT<267 ) // DUBAI
	{
		Show_Anim_Rond("OpenContactPopup('AE');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (Type_Mappe &&  ParL>536 && ParL<606  && ParT>194 && ParT<221 ) // LIBAN
	{
		Show_Anim_Rond("OpenContactPopup('LI');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (Type_Mappe &&  ParL>525 && ParL<590  && ParT>170 && ParT<194 ) // TURQUIE
	{
		Show_Anim_Rond("OpenContactPopup('TR');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>310 && ParL<384  && ParT>240 && ParT<280 ) // DK
	{
		Show_Anim_Rond("OpenContactPopup('DK');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>170 && ParL<208  && ParT>313 && ParT<348 ) // UK
	{
		Show_Anim_Rond("OpenContactPopup('UK');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');;",evt);
	}
	else if (!Type_Mappe &&  ParL>280 && ParL<326  && ParT>312 && ParT<338 ) // NETHERLAND
	{
		Show_Anim_Rond("OpenContactPopup('NL');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>273 && ParL<311  && ParT>350 && ParT<380 ) // BELGIUM
	{
		Show_Anim_Rond("OpenContactPopup('BE');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>350 && ParL<400  && ParT>360 && ParT<400 ) // GERMANY
	{
		Show_Anim_Rond("OpenContactPopup('DE');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>220 && ParL<275  && ParT>410 && ParT<450 ) // FRANCE
	{
		Show_Anim_Rond("OpenContactPopup('FR');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>400 && ParL<445  && ParT>500 && ParT<530 ) // ITALY
	{
		Show_Anim_Rond("OpenContactPopup('IT');Show_Moveable_Popup(true, 'PopShowContact',After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}		
	else if (!Type_Mappe &&  ParL>122 && ParL<160  && ParT>540 && ParT<570 ) // SPAIN MADRID
	{
		Show_Anim_Rond("OpenContactPopup('ES_M');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}	
	else if (!Type_Mappe &&  ParL>210 && ParL<240  && ParT>530 && ParT<570 ) // SPAIN BARCELONE
	{
		Show_Anim_Rond("OpenContactPopup('ES');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
	else if (!Type_Mappe &&  ParL>90 && ParL<120  && ParT>610 && ParT<640 ) // SPAIN SEVILLE
	{
		Show_Anim_Rond("OpenContactPopup('ES_S');Show_Moveable_Popup(true, 'PopShowContact', After_Open_ClientArea, 'main', 'POPUP_SHOWCONTACT'," + Target_L + "," + Target_T + ", 235, 140, 30, 30, 301, 246, 12, '/img/bg_contact.png', 'Content_Table_World_Contact');",evt);
	}
		
	else
	{	
		Mappe.style.cursor = "default";
	}	


}
function CheckTabOver(N)
{

	if (!loaded) return;
	
	var Title;
	var Page;
			
	if (N==1)
	{
		OV1.className = 'OVER_1'			; OV2.className = 'OVER_2_OFF'		; OV3.className = 'OVER_3_OFF'; 
	}
	else if(N==2)
	{
		OV1.className = 'OVER_1_OFF'		; OV2.className = 'OVER_2'			; OV3.className = 'OVER_3_OFF';  
	}
	else if (N==3)
	{
		OV1.className = 'OVER_1_OFF'		; OV2.className = 'OVER_2_OFF'		; OV3.className = 'OVER_3';  
	}

}

var open_P_X;


var Timer_Mappe;
var Type_Mappe = true;


function Show_Anim_Rond(fct,evt)
{
    if (!browserPngSupport) 
    {
		if (fct) eval(fct);
		return;
    }

	if (Index_Anim_Rond!=1) return
	Index_Anim_Rond = 1;
	var obj = document.getElementById("Anim_Rond");
	obj.style.display='';
	
	if (evt)
    {
    	obj.style.left = evt.clientX-21;
		obj.style.top = evt.clientY-21;
    }
    else
    {
		obj.style.left = window.event.clientX-21;
		obj.style.top = window.event.clientY-21;
    }
    

	Tick_Show_Anim_Rond(obj,fct);
}

function Tick_Show_Anim_Rond(obj,fct)
{
	obj.className = "Anim_Rond_" + Index_Anim_Rond;
	Index_Anim_Rond += 1;
	if (Index_Anim_Rond<7) 
	{
	    Timer_Show_Anim_Rond = setTimeout(function() {Tick_Show_Anim_Rond(obj,fct);},(Index_Anim_Rond*2));
	}
	else
	{
		if (fct) eval(fct);
	    Index_Anim_Rond = 1;
	    obj.style.display='none';
	}
}


function Show_Info_Show(n)
{
    if (!loaded) return;
    
 	if (n==0) 
	{
	    document.getElementById("icon_1").style.display="";
	    if (document.getElementById("icon_2")) document.getElementById("icon_2").style.display="none";
	    if (document.getElementById("icon_3")) document.getElementById("icon_3").style.display="none";
		panel_Meet.Display(VoIP_Call_Center_Software("Upcoming Events"));
		panel_Meet.ScrollPause();
	}
	else 
	{
	    document.getElementById("icon_1").style.display="none";
	    if (document.getElementById("icon_2")) document.getElementById("icon_2").style.display="none";
	    if (document.getElementById("icon_3")) document.getElementById("icon_3").style.display="none";
	    document.getElementById("icon_" + n).style.display="" ;
		
		var Array_Event_Content = new Array();
		Array_Event_Content = Array_Event[n]; 
	
		panel_Meet.Display(Array_Event_Content['Text']);
	    panel_Meet.ScrollPause();
		setTimeout('panel_Meet.ScrollResume();',1000);
	}
	
}

function Display_Meteo() {
var FrameMeteo = document.getElementById("Frame_Meteo").contentWindow;
for (var i=1; i<10 ; i++) {
if (FrameMeteo.document.getElementById("meteo"+i)) {
t = FrameMeteo.document.getElementById("meteo"+i).innerHTML.toUpperCase();
tN = FrameMeteo.document.getElementById("meteo"+i).innerHTML;

if (t.indexOf('NEW YORK')>0) 
{d = t.indexOf("<A");f = t.indexOf(">",d);f1 = t.indexOf("</A>",f);}
else
{d = t.indexOf("<A");f = t.indexOf(">",d);f1 = t.indexOf(" ",f);}

var V = tN.substr(f+1,f1-f-1);
if (V.indexOf('Montr')>=0) V = 'MontrÃ©al';

// V = V.replace('é','&eacute;');

document.getElementById("Meteo_City_"+i).innerHTML = V;
d = t.indexOf("<A",f1);f = t.indexOf(">",d);f1 = t.indexOf("</A>",f);
d = t.indexOf("<A",f1);f = t.indexOf(">",d);f1 = t.indexOf("</A>",f);
var m = tN.substr(f+1,f1-f-1);

/*
m = m.replace('http://www.meteofrance.com/img/picto/atm/mf/','/img/meteo/');
m = m.replace('.gif', '.png');
m = m.replace('height=20' , 'height=36');
m = m.replace('width=25' , 'width=40');
m = m.replace('height="20"' , 'height=36');
m = m.replace('width="25"' , 'width=40');
*/

document.getElementById("Meteo_Sky_"+i).innerHTML = m;
d = t.indexOf("<A",f1);f = t.indexOf(">",d);f1 = t.indexOf("</A>",f);
document.getElementById("Meteo_Temp_"+i).innerHTML =  tN.substr(f+1,f1-f-1);
}
else { break; }
}
}

function affdate()
{

    	aujourdhui = new Date();
		var aujourdhuiDay 		=  aujourdhui.getDate()  ; if (aujourdhuiDay<10) aujourdhuiDay='0' + aujourdhuiDay;
		var aujourdhuiMonth 	=  aujourdhui.getMonth() + 1 ; if (aujourdhuiMonth<10) aujourdhuiMonth='0' + aujourdhuiMonth;
		var aujourdhuiYear 		=  aujourdhui.getYear()  ;
		if (!ie5) aujourdhuiYear += 1900;
		var aujourdhuiHours 		=  aujourdhui.getHours()  ; if (aujourdhuiHours<10) aujourdhuiHours='0' + aujourdhuiHours;
		var aujourdhuiMinute 	=  aujourdhui.getMinutes() ; if (aujourdhuiMinute<10) aujourdhuiMinute='0' + aujourdhuiMinute;
		var aujourdhuiSecond 	=  aujourdhui.getSeconds() ; if (aujourdhuiSecond<10) aujourdhuiSecond='0' + aujourdhuiSecond;
			
 		if (Culture=='EN')
		{
			document.getElementById("placeforaffdate").innerHTML = aujourdhuiMonth + '-' + aujourdhuiDay + '-' + aujourdhuiYear + "<br>" + aujourdhuiHours + ':' + aujourdhuiMinute + ':' + aujourdhuiSecond ;
		}
		else
		{
			document.getElementById("placeforaffdate").innerHTML = aujourdhuiDay + '/' + aujourdhuiMonth + '/' + aujourdhuiYear + "<br>" + aujourdhuiHours + ':' + aujourdhuiMinute + ':' + aujourdhuiSecond ;
		}
		
		setTimeout(function () {affdate();},1000);

}

var B_Client_Area = false;

function Show_Client_Area()
{
   var obj = document.getElementById("Client_Area");
   
   if(B_Client_Area) 
   {
       obj.style.display='none';
	   document.getElementById("Open_Client").src = "../img/open.gif";
   }
   else
   {
       obj.style.display='';
	   document.getElementById("Open_Client").src = "../img/close.gif";
   }
   
   B_Client_Area = !B_Client_Area;
}



function getAlphaImgStr(path, width, height, handlerFor, cursor, id, onclick, swapImg)
{
	var arrayResult = new Array();
	
	if ((swapImg) && (swapImg != ""))
	{
		arrayResult.push("<div style=\"cursor:pointer;width:" + width + ";height:" + height + ";\" onmouseover=\"changeAlphaImg(this.firstChild, '" + swapImg + "');\" onmouseout=\"changeAlphaImg(this.firstChild, '" + path + "');\"");
		
		if ((onclick) && (onclick != ""))
		{
			arrayResult.push(" onclick=\""); arrayResult.push(onclick); arrayResult.push("\"");
		}
		
		if ((id) && (id != ""))
		{
			arrayResult.push(" id=\""); arrayResult.push(id); arrayResult.push("\"");
		}
		
		arrayResult.push(">");
	}
	
	if (!browserPngSupport)
	{
		arrayResult.push("<div style=\"width:"); arrayResult.push(width);
		arrayResult.push(";height:"); arrayResult.push(height);
		arrayResult.push(";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale enabled=true src='"); arrayResult.push(path); arrayResult.push("');");
		
		if ((cursor) && (cursor != ""))
		{
			arrayResult.push("cursor:"); arrayResult.push(cursor);
		}
		
		arrayResult.push("\"");
	}
	else
	{
		arrayResult.push("<img src=\""); arrayResult.push(path); arrayResult.push("\"");
		arrayResult.push(" style=\"width:"); arrayResult.push(width); arrayResult.push(";height:"); arrayResult.push(height);
		
		if ((cursor) && (cursor != ""))
		{
			arrayResult.push(";cursor:"); arrayResult.push(cursor);
		}
		
		 arrayResult.push(";\"");
	}
	
	if ((handlerFor) && (handlerFor != ""))
	{
		arrayResult.push(" handlefor=\""); arrayResult.push(handlerFor); arrayResult.push("\"");
	}
	
	if (!browserPngSupport)
	{
		arrayResult.push("></div>");
	}
	else
	{
		arrayResult.push(">");
	}
	
	if ((swapImg) && (swapImg != ""))
	{
		arrayResult.push("</div>");
	}
	
	return arrayResult.join("");
}

___gbArrayMiddleDiv = new Array();

function AddMiddleDiv(div, position, topMinimum)
{
	if (typeof(div) != "string") div = div.id;
	
	//Add div if not in array
	var exist = false;
	for (var i = 0; i < ___gbArrayMiddleDiv.length; i++)
	{
		if (___gbArrayMiddleDiv[i].id == div)
		{
			exist = true;
			break;
		}
	}
	
	if (!exist) 
	{
		var obj = new Object(); obj.id = div;
		obj.position = position;
		obj.miniTop = topMinimum;
		___gbArrayMiddleDiv.push(obj);
	}
	
	if (typeof(window.onscroll) != "function")
	{
		window.onscroll = OnBodyScroll;
	}
	
	OnBodyScroll();
}


function OnBodyScroll()
{
	for (var i = 0; i < ___gbArrayMiddleDiv.length; i++)
	{
		var div = document.getElementById(___gbArrayMiddleDiv[i].id);
		var top = 0;
		if (___gbArrayMiddleDiv[i].position == "top")
		{
			top = document.body.scrollTop;
		}
		else if (___gbArrayMiddleDiv[i].position == "bottom")
		{
			top = (document.body.clientHeight - div.clientHeight) + document.body.scrollTop;
		}
		else //middle
		{
			top = ((document.body.clientHeight - div.clientHeight) / 2) + document.body.scrollTop;
		}
		
		if (top < ___gbArrayMiddleDiv[i].miniTop) div.style.display = "none";
		else { div.style.top = top; div.style.display = ""; }
	}
}

function Alert(message)
{
	var path_to_image = "";
	var z_index_needed = 60010;	
	
 	if (!document.getElementById("DisplayAlertDiv")) 
	{

		var Div = document.createElement("div");
			Div.style.position 						= 'absolute';
			Div.id 									= 'DisplayAlertDiv';
			Div.style.zIndex 						= z_index_needed;
			Div.style.position 						= 'absolute';
			Div.style.width 						= '380pt';
			Div.style.height 						= '50pt';
			Div.className							= 'MovePopup';
			
		var DomMainTable = document.createElement("table");
			DomMainTable.style.width 				= '100%';
			DomMainTable.style.height 				= '100%';	 
			DomMainTable.cellPadding				= 0;
			DomMainTable.cellSpacing				= 0;
			DomMainTable.style.backgroundColor		= "black";
		var tr = DomMainTable.insertRow(0);
			tr.style.height 			   			= '18px';
		var td = tr.insertCell(0);
			td.style.width 		  					= '1px';
			td.innerHTML 							= '<IMG src="' + path_to_image + '../img/img_styles/deb_popup.gif">';
		var td = tr.insertCell(1);
			td.style.paddingLeft  					= '3px';
			td.style.width							= '100%';
			td.style.height							= '18px';
			td.style.background 					= "url('" + path_to_image + "../img/img_styles/Fond_Haut_Popup.gif')  repeat";
			td.noWrap								= true;
			td.align								= 'left';
			td.noBreak								= true;
			td.className							= 'MovePopup';
			td.handlefor							= 'DisplayAlertDiv';
			td.className='Menu_Pop';
			td.innerHTML							= '<b> </b>';
		var td = tr.insertCell(2);
			td.style.width							= '18px';
			td.style.height							= '16px';
			td.style.cursor							= 'hand';
			td.innerHTML							= '<IMG src="' + path_to_image + '../img/img_styles/Close_Popup.gif">';
			td.onclick								= function (e)
													  {
													    document.body.removeChild(document.getElementById('DisplayIframeAlertDiv'));
													    document.body.removeChild(document.getElementById('DisplayAlertDiv'));
													  };
							
							
													  
		var tr = DomMainTable.insertRow(1);
		var td = tr.insertCell(0);
			td.style.width 		  					= '100%';
			td.style.height 		  				= '100%';	
			td.className							= 'Main_Popup';
			td.style.borderRight					= '#848C94 1px solid';
			td.style.borderLeft						= '#848C94 1px solid';	
			td.colSpan								= 3;
			td.align								= 'center';
			td.vAlign								= 'middle';
			td.noWrap								= true;
			var cont 								= '<TABLE border=0 width=100% cellpadding=4 border=0><TR><td width=36 valign=middle><Img src="' + path_to_image + '../img/img_styles/Alert.gif"></td><TD width=100% valign=middle style="color:#FF7F31;font-family:verdana,tahoma;font-size:9pt">' + message + '</TD>';
			cont 									+= '<td  valign=middle align=right><A href="#" onclick="document.body.removeChild(document.getElementById(\'DisplayIframeAlertDiv\'));document.body.removeChild(document.getElementById(\'DisplayAlertDiv\'));"	 class="link_OK2">OK</A>&nbsp;&nbsp;</td></tr></TABLE>';
			td.innerHTML							= cont; 
			
		Div.appendChild(DomMainTable);
		document.body.appendChild(Div);
		
		var Iframe = document.createElement("iframe");
			Iframe.style.position 						= 'absolute';
			Iframe.id 									= 'DisplayIframeAlertDiv';
			Iframe.style.zIndex 						= z_index_needed-1;
			Iframe.frameBorder							= 0;
			Iframe.border								= 0;
			Iframe.src									= 'blank_black.htm';
			Iframe.width 								= "100%";
			Iframe.height 								= "100%";
			Iframe.style.top							= '0px';
			Iframe.style.left							= '0px';	
			Iframe.style.filter 						= "alpha(opacity=50)";
			Iframe.style.opacity 						= "0.5";		
			Iframe.style.KhtmlOpacity 					= "0.5";		
			Iframe.style.MozOpacity 					= "0.5";	
		document.body.appendChild(Iframe);	

		
	}
	
	var l = (document.body.clientWidth - document.getElementById("DisplayAlertDiv").clientWidth) / 2;
	var t = (document.body.clientHeight - document.getElementById("DisplayAlertDiv").clientHeight) / 2;
  
	document.getElementById("DisplayAlertDiv").style.top = t;
	document.getElementById("DisplayAlertDiv").style.left = l;	   
}

var w_popup 			   = 482;
var h_popup 			   = 534;
var l_popup 			   = 285;
var t_popup 			   = 18;

var From_T	= 215;
var To_T	= 97;
var Step_Awards = (From_T-To_T)/20;
var timer_awards;
var Actual_Top;
var Awards_Open = false;
var lOpener = 0;
var Working_Awards = false;

function PopupAwards(id,open)
{
	if (!loaded) return;
	if (Working_Awards) return;
	
	if (id==0 && !open)
	{
		document.getElementById("Bg_Awards").style.display='none';
		document.getElementById("Bg_Awards").style.height = '0px';
		document.getElementById("Bg_Awards").style.top    = From_T;
		Awards_Open=false;
		document.getElementById("Td_Awards").innerHTML = "";
		document.getElementById("Td_Awards").style.display='none';
		panel_Awards.Display(' ' + VoIP_Call_Center_Software("Partners"));
		Working_Awards=false;
		lOpener = 0;
		document.getElementById("Bg_Awards").style.display='';
		return;
	}
	
	if (!Awards_Open && !open) return;
	else if (id==lOpener && open) return;
	else if (id!=lOpener && !open) return;
	
	
	Working_Awards = true;

	var SA;
	var End;
	var dest_T = document.getElementById("Bg_Awards");
	var dest_H = document.getElementById("Bg_Awards");
	
	if (open) 
	{
	    lOpener = id;
		Actual_Top = From_T; 
		SA=-Step_Awards; 
		End=To_T; 
	}  
	else  
	{
		
		dest_H.style.display='none';
		dest_H.style.height = '0px';
		dest_T.style.top    = From_T;
		Awards_Open=false;
		document.getElementById("Td_Awards").innerHTML = "";
		document.getElementById("Td_Awards").style.display='none';
		panel_Awards.Display(' ' + VoIP_Call_Center_Software("Partners"));

		Working_Awards=false;
		lOpener = 0;
		dest_H.style.display='';
		return;
		Actual_Top = To_T; 
		SA=Step_Awards; 
		End=From_T; 
		
	}

	var H = "129"; 

	if (open) 
	{
		panel_Awards.Display(' '  + document.getElementById("AWARD_Text_Part1_" + id).innerHTML);
		document.getElementById("Td_Awards").style.lineHeight = "1.5em"
		document.getElementById("Td_Awards").innerHTML = document.getElementById("AWARD_Text_Part2_"+id).innerHTML;
	    document.getElementById("Td_Awards").style.display='';
	    document.getElementById("Td_Awards").style.height = '116px';
	}  
	else
	{
		document.getElementById("Td_Awards").style.display='none';
	}
	  
	Timer_Awards_FCT(dest_T,dest_H,Actual_Top,H,SA,End,id); 
   
}


function Timer_Awards_FCT(obj_T,obj_H,T,H,SE,E,i)
{
	var New_H = H - SE;
	var New_T = T + SE;
	
	if (New_H<0) obj_H.style.height = '0px'; else obj_H.style.height = New_H;
		
	obj_T.style.top    = New_T;
	
	if (Number(New_T)<=E && SE<0) 
	{
		Awards_Open=true;
		lOpener = i;
		Working_Awards=false;
		obj_T.style.top = To_T;
		return;
	}
	
	if (Number(New_T)>=E && SE>0)
	{
		obj_H.style.height = '0px';
		obj_T.style.top    = From_T;
		Awards_Open=false;
		document.getElementById("Td_Awards").innerHTML = "";
		document.getElementById("Td_Awards").style.display='none';
		
		panel_Awards.Display(' ' + VoIP_Call_Center_Software("Partners"));
		Working_Awards=false;
		lOpener = 0;
		return;
	}
	
    timer_contact = setTimeout(function() { Timer_Awards_FCT(obj_T,obj_H,New_T,New_H,SE,E,i); }, 1);
	
}

var Timer_Text_WorldWide;

function Defil_TextWorld(state)
{
	Timer_Text_WorldWide = setTimeout(function () {TimerTextWorld(document.getElementById("Text_WorldWide"),state);},10);
}


function TimerTextWorld(obj,se)
{
	var t = parseInt(obj.style.top);
	if (t<-300) {obj.style.top='-300px';return}
	if (t>0)	{obj.style.top='0px';return}
	if (se) t -= 2; else t +=2;
	obj.style.top = t +'px';
	Timer_Text_WorldWide = setTimeout(function () {TimerTextWorld(obj,se);},1);
}


function Create_Small_Menu(tm,im,w,h)
{
				var obj = document.createElement("div");
				obj.id = 'Small_Menu';
				obj.style.left = '730px'
				obj.style.position = "absolute";
				obj.style.verticalAlign = 'bottom';
				obj.innerHTML	 = getAlphaImgStr(im, w, h, '', '', '', '', '') ;
				    var table = document.createElement("table");
					table.cellPadding = 0;
					table.cellSpacing = 0;
					table.style.verticalAlign = "bottom";
					table.style.marginTop = '123px'
					table.style.marginLeft = '25px'
					table.style.position = "absolute"; 
					table.height = '68px';
					table.style.top="1px"; table.style.left ="1px";
					table.border=0;
					var tr = table.insertRow(-1);
					var td = tr.insertCell(-1);
					td.style.height = "24px";
					td.innerHTML = "<a class=Link_SmallMenuT href='#TOP'>" + VoIP_Call_Center_Software("Top page") + "</a>";
					var tr = table.insertRow(-1);
					var td = tr.insertCell(-1);
					td.style.height = "24px";
					td.innerHTML = "<a class=Link_SmallMenuP href='javascript:history.back()'>" + VoIP_Call_Center_Software("Back") +  "</a>";
					var tr = table.insertRow(-1);
					var td = tr.insertCell(-1);
					td.style.height = "24px";
					td.innerHTML = "<a class=Link_SmallMenuH href='/'>" + VoIP_Call_Center_Software("Home Page") +  "</a>";
					obj.appendChild(table);
					var div = document.createElement('div')
					div.className = 'clearer';
					div.innerHTML = '&nbsp;&nbsp;'
					obj.appendChild(div);					
				document.getElementById("main").appendChild(obj);
				AddMiddleDiv("Small_Menu", "middle", tm);
}

function Create_Small_Menu_Standard(tm,im,w,h)
{
				var obj = document.createElement("div");
				obj.id = 'Small_Menu';
				obj.style.left = '730px'
				obj.style.position = "absolute";
				obj.style.verticalAlign = 'bottom';
				obj.innerHTML	 = getAlphaImgStr(im, w, h, '', '', '', '', '') ;
				    var table = document.createElement("table");
					table.cellPadding = 0;
					table.cellSpacing = 0;
					table.style.verticalAlign = "bottom";
					table.style.marginTop = '10px'
					table.style.marginLeft = '15px'
					table.style.position = "absolute"; 
					table.height = '68px';
					table.style.top="1px"; table.style.left ="1px";
					table.border=0;
					var tr = table.insertRow(-1);
					var td = tr.insertCell(-1);
					td.style.height = "24px";
					td.innerHTML = "<a class=Link_SmallMenuT href='#TOP'>" + VoIP_Call_Center_Software("Top page") + "</a>";
					var tr = table.insertRow(-1);
					var td = tr.insertCell(-1);
					td.style.height = "24px";
					td.innerHTML = "<a class=Link_SmallMenuP href='javascript:history.back()'>" + VoIP_Call_Center_Software("Back") +  "</a>";
					var tr = table.insertRow(-1);
					var td = tr.insertCell(-1);
					td.style.height = "24px";
					td.innerHTML = "<a class=Link_SmallMenuH href='/'>" + VoIP_Call_Center_Software("Home Page") +  "</a>";
					obj.appendChild(table);
					var div = document.createElement('div')
					div.className = 'clearer';
					div.innerHTML = '&nbsp;&nbsp;'
					obj.appendChild(div);
				document.getElementById("main").appendChild(obj);
				AddMiddleDiv("Small_Menu", "middle", tm);
}
function disp_tr(obj,N)
{
	// var t = obj.parentElement;
	var t = obj.parentNode;	
	for (var i = 0; i < t.rows.length; i++)
	{
		if (t.rows[i].onclick=='undefined' || t.rows[i].onclick==null)
			{
			   t.rows[i].style.display='none';
			}

	}
	
	// var t = obj.parentElement;
	var t = obj.parentNode;	
	for (var i = 0; i < t.rows.length; i++)
	{
			if (t.rows[i]==obj)
			{
					for (var z=0; z<N; z++)
					{
						if (t.rows[i+z+1])
						{
							if (t.rows[i+z+1].style.display=='none') {t.rows[i+z+1].style.display='';} else {t.rows[i+z+1].style.display='none';}
						}
					}  
					return;
			}
	}
	
}

