// generic globals
function ttag(x) {return document.getElementById(x).style;}
function tag(x) {return document.getElementById(x);}
function swco(e,f,g) {ttag('left_cont').display=e;ttag('left_cont_b').display=f;tag('curbigbox').value=g;}
/*
// this is for highlighting the lightbox
function secondhi(y,z) {ttag(y).background='url(images/sidearrow2.png) repeat-y';ttag(z).background='url(images/side_back_light2.png) repeat-y';}

// we take of the lightbox highlight
function fallback(y,z) {ttag(y).background='';ttag(z).background='url(images/side_back_light.png) repeat-y';}
*/
function makelive() {
// we first want to activate the content

var x = tag('curbigbox').value;
if(x==0) {swco('none','block',1);}
if(x==1) {swco('block','none',0);}
//if(x==2) {swco('block','none',0);}

/*	
// first we grab the html from inside the two right boxes
var bar1data = tag('bar1').innerHTML;
var bar2data = tag('bar2').innerHTML;
// and we swap the html
tag('bar1').innerHTML=bar2data;
tag('bar2').innerHTML=bar1data;

// we now grab the specifics of each
var bar1barpic = tag('barpica').innerHTML;
var bar1desc = tag('desc1').innerHTML;
var bar2barpic = tag('barpicb').innerHTML;
var bar2desc = tag('desc2').innerHTML;

//and we flip the specifics
tag('barpica').innerHTML=bar2barpic;
tag('desc1').innerHTML=bar2desc;
tag('barpicb').innerHTML=bar1barpic;
tag('desc2').innerHTML=bar1desc;
*/
}

