
function detailOver(jur, typ, id, txt, cap) {
    if ( o3_showingsticky ) { return; }

    var content = txt;
    var caption = cap;

    content = content + '<div class="overlib_id"> </div>';
    overlib(content, CAPTION, caption);
}
function detailOut() {
    if ( o3_showingsticky ) { return; }
    nd();
}
function detailClick(j, t, i, txt, cap) {
          caption = cap;
          content = txt;

    nd();

    content = content+'<div class="overlib_id"> </div>';
    overlib(content, PIN, DRAG, STICKY, CLOSECLICK, CAPTION, caption);
}


function moveLayer(layerName)
{
		
	var xoffset = 0;
	var yoffset = 0;
	//alert(screen.width);
	if(screen.width== 1152)
	{
			xoffset=190;
			yoffset=118;
	}
	else if(screen.width== 1280)
	{
			xoffset=255;
			yoffset=118;
	}
	else if(screen.width== 1024)
	{
			xoffset=128;
			yoffset=120;
	}
	else if(screen.width == 800)
	{
			xoffset=15;
			yoffset=123;		
	}
	else if(screen.width == 832)
	{
			xoffset=15;
			yoffset=123;		
	}
	else
	{
			alert("This resolution is not supported, map may not display correctly.");
	}
	
	
	if(document.all)
	{
		for (i in document.all)
		{
			layerID = document.all[i].id;
			if(layerID != null)
			if(layerID.indexOf("webdiv") != -1)
			{
				left = document.all[i].offsetLeft+ xoffset+"px";
				top1 = document.all[i].offsetTop+ yoffset+"px";
				document.all[i].style.left = left;
				document.all[i].style.top = top1;
			}
		}
	}
	else 
	{	
		//alert(document.divform.count.value);
		for(i =1; i<=document.divform.count.value; i++)
		{
			var obj = eval("document.getElementById('webdiv"+i+"')");
			left = obj.offsetLeft+ xoffset+"px";
			top1 = obj.offsetTop+ yoffset+"px";
			obj.style.left = left;
			obj.style.top = top1;		
			/*if(document.getElementById("webdiv1"))
			{
					alert("true");
			}*/
		}	
	}
	
}

/* setup for the overlib.js library 
var ol_fgcolor          = "#A5B4C4";
var ol_bgcolor          = "#39597D";
var ol_textfont         = "Verdana,Arial,Helvetica,sans-serif";
var ol_captionfont      = "Verdana,Arial,Helvetica,sans-serif";
var ol_closefont        = "Verdana,Arial,Helvetica,sans-serif";
var ol_border           = "1px";
var ol_autostatus       = 2;
var ol_snapx            = 1;
var ol_snapy            = 1;
var ol_hauto            = 1;
var ol_vauto            = 1;
var ol_css              = 53;  /* CSSCLASS from overlib.js 
var ol_fgclass          = "overlib_fg";
var ol_bgclass          = "overlib_bg";
var ol_textfontclass    = "overlib_txt";

var ol_closefontclass   = "overlib_cls";*/
var ol_close            =  "<img src=\"images/close.jpg\" border=\"0\">";
var ol_captionfontclass = "overlib_cap";
var ol_width            = "250";
// End JavaScript -->
