/* 
 */
 
// get the proper divs floating	
for(var i=0;i<divs.length;i++){
	var div = divs[i];
	if (document.getElementById(div) != null) { 
		new FloatLayer(div, null, 40, 5);
	}
}


	

/*
			
// JavaScript Document
function windowWidth () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}
 
function windowHeight () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}
 
function refreshLayout () {
  if (width != windowWidth() || height != windowHeight()){
      location.href = location.href;
   }
}
 

if (!window.width && window.innerWidth) {
  window.onresize = refreshLayout;
  width = windowWidth();
  height = windowHeight();
}
 
 
if (!window.width && document.body && document.body.offsetWidth) {
  window.onresize = refreshLayout;
  width = windowWidth();
  height = windowHeight();
}
 
 
contentWidth = 1250;
redundantWidth = width - contentWidth;
if(redundantWidth < 0){
	redundantWidth = 0;
}
xOffset = redundantWidth / 2;
 
 
document.getElementById("c1").style.left = xOffset;

centerX = 320;

if(document.getElementById("c2")){
	document.getElementById("c2").style.left = xOffset + centerX;
}
if(document.getElementById("c2_800")){
	document.getElementById("c2_800").style.left = xOffset + centerX;
}

rightX = 760;
if(document.getElementById("c3")){
	document.getElementById("c3").style.left = xOffset + rightX;
}
if(document.getElementById("c4")){
	document.getElementById("c4").style.left = xOffset + rightX;
}

  */

 

