x = 20;
y = 20;


function setVisible(obj,content,hgt,wdt)
{
	
	if(navigator.appName=='Microsoft Internet Explorer')
	{
		document.getElementById('cache').style.filter = 'alpha(opacity=\"80\")';
	}
	else
	{
		document.getElementById('cache').style.opacity = 0.8;
	}
 
	document.getElementById('cache').style.visibility = 'visible';
	obj = document.getElementById(obj);
	if ( obj.style.visibility == 'visible' ) {}
	else {
	
	obj.innerHTML = '<a id=\"\close" href=\"\" onclick=\"setInVisible(' + obj + '); return false;\"><img width=\"20px\" height=\"20px\" src=\"img/close.png\" border="0" /></a><br \><iframe id=\"holder\" width=\"100%\" height=\"' + parseInt(hgt-100) + 'px\" Frameborder=\"0\" src=\"' + content + '\"></iframe>';
	/*<br><div id="footerpic"><img width=\"50px\" height=\"100px\" src=\"img/floater.gif\" border="0" /></div>'*/
    
    obj.style.width = wdt;
    obj.style.height = hgt;
    obj.style.marginLeft = "-" + parseInt(obj.offsetWidth / 2) + "px";
  	obj.style.visibility = 'visible';
	}
}
/*
function preLoad()
{
	obj = document.getElementById('object');
	obj.visibility = 'hidden';
	obj.innerHTML = '<iframe src=\"gallery.php\"></iframe>';
}
*/


function setInVisible(obj)
{
	document.getElementById('cache').style.visibility = 'hidden';
	obj = document.getElementById(obj);
    obj.innerHTML = ' ';
	obj.style.visibility = 'hidden';
	
	
	if(navigator.appName=='Microsoft Internet Explorer')
	{
		document.getElementById('cache').style.filter = 'alpha(opacity=\"80\")';
	}
	else
	{
		document.getElementById('cache').style.opacity = 0;
	}
		

	
}


function showOrder()
{
    var table = document.getElementById('formTable');
    var lastRow = 13;
    
    //FirstRow
    var row = table.insertRow(lastRow);
    
    //LeftCell
    var cellLeft = row.insertCell(0);
    cellLeft.style.valign = 'top';
    var text = document.createTextNode('Please select:');
    cellLeft.appendChild(text);
    
    //RightCell
    var cellRight = row.insertCell(1);
    var el = document.createElement('input');
    el.type = 'checkbox';
    el.name = 'theAIRFLOATER with Ronford-Baker Baseplate and special Flightcase';
    el.id = 'inputField';
    cellRight.appendChild(el);
    var text = document.createTextNode('theAIRFLOATER with Ronford-Baker Baseplate and special Flightcase');
    cellRight.appendChild(text);
    
    var lb = document.createElement('br');
    cellRight.appendChild(lb);
 
    var el = document.createElement('input');
    el.type = 'checkbox';
    el.name = 'O\'Connor Arri Bowl';
    el.id = 'inputField';
    cellRight.appendChild(el);
    var text = document.createTextNode('O\'Connor Arri Bowl');
    cellRight.appendChild(text);
   
    cellRight.appendChild(lb);
   
    var el = document.createElement('input');
    el.type = 'checkbox';
    el.name = 'O\'Connor Mitchell';
    el.id = 'inputField';
    cellRight.appendChild(el);
    var text = document.createTextNode('O\'Connor Mitchell');
    cellRight.appendChild(text);
    
    cellRight.appendChild(lb);
    
    var el = document.createElement('input');
    el.type = 'checkbox';
    el.name = 'Cardellini Head-Lock';
    el.id = 'inputField';
    cellRight.appendChild(el);
    var text = document.createTextNode('Cardellini Head-Lock');
    cellRight.appendChild(text);
    
    row;
    
    var cellLeft = row.insertCell(0);
    cellLeft.style.valign = 'top';
    var text = document.createTextNode('Please select:');
    cellLeft.appendChild(text);


}
