function init(){
	var arrFloatTables = document.getElementsByTagName("div")
	for(i=0;i<arrFloatTables.length;i++){
		var objFloatTable = arrFloatTables[i]
		if(objFloatTable.className == "floatTable"){
			
			var strHeight = objFloatTable.getAttribute("floatHeight")
			var strWidth = objFloatTable.getAttribute("floatWidth")
			var strBackgroundColor = objFloatTable.getAttribute("floatBackgroundColor")
			var strBackgroundImage = objFloatTable.getAttribute("floatBackgroundImage")
			var strBorder = objFloatTable.getAttribute("floatBorder")
			var strShadow = objFloatTable.getAttribute("floatShadow")
			var strBody = objFloatTable.innerHTML
			writeFloatTable(strWidth, strHeight, strBackgroundColor, strBackgroundImage, strBorder, strShadow, strBody, objFloatTable)
		}
	}
}	
	
function writeFloatTable(strWidth, strHeight, strBackgroundColor, strBackgroundImage, strBorder, strShadow, strBody, objFloatTable){
	var strFloatTable = ""
	var strSmallWidth = strWidth - 4
	var strSmallHeight = strHeight -4
	
	strFloatTable += "<table width=\"" + strWidth + "\">"
	strFloatTable += "<tr>"
	strFloatTable += "<td>"
	strFloatTable += "<table cellpadding=\"0\" cellspacing=\"0\" width=\"" + strWidth + "\" height=\"" + strHeight + "\" >"
	strFloatTable += "<tr>"
	strFloatTable += "<td rowspan=\"2\" width=\"" + strSmallWidth + "\" height=\"" + strHeight + "\" >"
	strFloatTable += "<table width=\"" + strSmallWidth + "\" height=\"" + strHeight + "\" bgcolor=\"" + strBorder + "\" cellpadding=\"1\" cellspacing=\"0\">"
	strFloatTable += "<tr>"
	strFloatTable += "<td>"
	strFloatTable += "<table "
	
	if(!strBackgroundImage)
		strFloatTable += "bgcolor=\"" + strBackgroundColor 
	else
		strFloatTable += "background=\"" + strBackgroundImage 
	
	strFloatTable += "\" width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\">"
	strFloatTable += "<tr>"
	strFloatTable += "<td valign=\"top\">"

	strFloatTable += strBody

	strFloatTable += "</td>"
	strFloatTable += "</tr>"
	strFloatTable += "</table>"
	strFloatTable += "</td>"
	strFloatTable += "</tr>"
	strFloatTable += "</table></td>"
	strFloatTable += "<td height=\"4\" width=\"4\"><img style=\"display:block;\" src=\"https://www.produnkhoops.com/images/design/trans.gif\" /></td>"
	strFloatTable += "</tr>"
	strFloatTable += "<tr>"
	strFloatTable += "<td height=\"" + strSmallHeight + "\" width=\"4\" bgcolor=\"" + strShadow + "\"></td>"
	strFloatTable += "</tr>"
	strFloatTable += "</table>"
	strFloatTable += "<table width=\"" + strWidth + "\" cellpadding=\"0\" cellspacing=\"0\">"
	strFloatTable += "<tr>"
	strFloatTable += "<td width=\"4\" height=\"4\"><img style=\"display:block;\" src=\"https://www.produnkhoops.com/images/design/trans.gif\" /></td>"
	strFloatTable += "<td bgcolor=\"" + strShadow + "\" width=\"" + strSmallWidth + "\"></td>"
	strFloatTable += "</tr>"
	strFloatTable += "</table>"
	strFloatTable += "</td>"
	strFloatTable += "</tr>"
	strFloatTable += "</table>"
	objFloatTable.innerHTML = strFloatTable
}
