﻿<!--
var isIe=(document.all)?true:false;
//select

function setSelectState(state)

{

var objl=document.getElementsByTagName('select');

for(var i=0;i<objl.length;i++)

{

objl[i].style.visibility=state;

}

}

function mousePosition(ev)

{

if(ev.pageX || ev.pageY)

{

return {x:ev.pageX, y:ev.pageY};

}

return {

x:ev.clientX + document.body.scrollLeft - document.body.clientLeft,y:ev.clientY + document.body.scrollTop - document.body.clientTop

};

}

//flash

function callFromFlash()

{

	var objPos=new Object;

	var fidd="1_a";

	objPos.x=100;

	objPos.y=50;

	messContent="<div style='padding:2px 0 2px 0;text-align:center;'><iframe src='/ftp/Product_Documentation/top10_features/' scrolling='no' frameborder='0' allowtransparency='ture' width='764' height='535'></iframe></div>";

	showMessageBox('',messContent,objPos,600);//

} 



//

function showMessageBox(wTitle,content,pos,wWidth)//

{

closeWindow();

var bWidth=parseInt(document.documentElement.scrollWidth);

var bHeight=parseInt(document.documentElement.scrollHeight);

if(isIe){

setSelectState('hidden');}

var back=document.getElementById('back');

if( back == null )

{

	back=document.createElement("div");

	back.id="back";	

	document.body.appendChild(back);

}

var styleStr="top:0px;left:0px;position:absolute;background:#666;width:"+bWidth+"px;height:"+bHeight+"px;";

styleStr+=(isIe)?"filter:alpha(opacity=0);":"opacity:0;";

back.style.cssText=styleStr;

back.style.display="";
 



//showBackground(back,50);

var mesW=document.getElementById('mesWindow');

if( mesW == null )

{

	mesW=document.createElement("div");

	mesW.id="mesWindow";

	mesW.className="mesWindow";

	document.body.appendChild(mesW);

}

mesW.innerHTML="<div style='top:44px; right:-118px; padding:0px 3px 6px 3px; width:28px; height:28px; text-align:center; position:absolute; float:left; z-index:6; background-color:#cbcbcb; font-family:Arial; font-size:30px;CURSOR:pointer; color:#aa0000' onclick='closeWindow();' title='Close'>×</div><div class='mesWindowContent' id='mesWindowContent' style='position:absolute; z-index:5; top:0px;'>"+content+"</div><div class='mesWindowBottom'></div>";

//styleStr="left:"+(((pos.x-wWidth)>0)?(pos.x-wWidth):pos.x)+"px;top:"+(pos.y)+"px;position:absolute;width:"+wWidth+"px;";

styleStr="left:"

+(document.body.scrollLeft+document.documentElement.scrollLeft + window.screen.availWidth/2-wWidth/2-50)//

+"px;top:"

//+document.body.scrollTop+document.documentElement.scrollTop//

+"100"

// + window.screen.availHeight/2-hHeight/2

//+(pos.y-400)//

+"px;position:absolute; width:"+wWidth+"px"; //height:"+hHeight+"px; overflow:hidden;";

mesW.style.cssText=styleStr;

mesW.style.display="";

}

//

function showBackground(obj,endInt)

{

if(isIe)

{

obj.filters.alpha.opacity+=1;

if(obj.filters.alpha.opacity<endInt)

{

setTimeout(function(){showBackground(obj,endInt)},5);

}

}else{

var al=parseFloat(obj.style.opacity);al+=0.01;

obj.style.opacity=al;

if(al<(endInt/100))

{setTimeout(function(){showBackground(obj,endInt)},5);}

}

}

//

function closeWindow()

{

if(document.getElementById('back')!=null)

{

document.getElementById('back').style.display='none';

//document.getElementById('back').parentNode.removeChild(document.getElementById('back'));

}

if(document.getElementById('mesWindow')!=null)

{

document.getElementById('mesWindow').style.display='none';

//document.getElementById('mesWindow').parentNode.removeChild(document.getElementById('mesWindow'));

} 



//if(isIe){

//setSelectState('');}

}
 



//


//AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','640','height','430','src','top10_index1_a','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','top10_index1_a' ); //end AC code


function testMessageBox(ev,fid)

{

var objPos = mousePosition(ev);

messContent="<div style='padding:2px 0 2px 0;text-align:center;'><iframe src='/ftp/Product_Documentation/top10_features/' scrolling='no' frameborder='0' allowtransparency='ture' width='764' height='535'></iframe></div>";

showMessageBox('',messContent,objPos,600);//

}


window.onscroll=function()//

{
	if(document.getElementById('mesWindow')!=null)

	{
		document.getElementById('mesWindow').style.left=

			document.body.scrollLeft+document.documentElement.scrollLeft + window.screen.availWidth/2

			-parseInt(document.getElementById('mesWindow').style.width)/1.71;

		document.getElementById('mesWindow').style.top=

			document.body.scrollTop+document.documentElement.scrollTop

			+100;

			//+ window.screen.availHeight/2

			//-parseInt(document.getElementById('mesWindow').style.height)/2;

	}

}
