
if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.dropcontent{display:none;}\n')
document.write('</style>\n')
}

function doStuff(el,over,out,idin,cap,group)
{
    el.src= over;
    selectOne(idin, group);
    document.getElementById("dropcontentimage"+group).style.display="block";
    changeCap(cap, group);
    
    
    el.onmouseout=function()
    {
	first_time = 1;
	last_img  = out;
	last_id = idin;
    }
}

function resetImage()
{
document.getElementById("img_"+last_id).src=last_img;
}

function selectOne(idin, group)
{
    //alert('Here');
    var imageDivObj=document.getElementById("dropimage"+idin);
    document.getElementById("dropcontentimage"+group).innerHTML=imageDivObj.innerHTML;

}

function changeCap(cap, group)
{
    var cap_place = document.getElementById("caption"+group);
    cap_place.firstChild.nodeValue= cap;
}


