function showhideObj(obj1,obj2,obj3,obj4)
{
   obj1.className = obj1.className == "col" ? "exp": "col";
   obj2.className = "col";
   obj3.className = "col";
   obj4.className = "col";
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function showhidePh(photo1,photo2,photo3,photo4,ph1,ph2,ph3,ph4)
{
   photo1.className = "exp";
   photo2.className = "col";
   photo3.className = "col";
   photo4.className = "col";
   ph1.className = "exp";
   ph2.className = "col";
   ph3.className = "col";
   ph4.className = "col";
}

var sph_count = 0;
function sph(current)
{
	total = (0==sph_count) ? 4 : sph_count;
	for(i=1;i<=total;i++)
	{
		if (i==current) className = 'exp'; else className = 'col';
		h=document.getElementById('ph'+i);
		if ('undefined'!=h) h.className = className;
		h=document.getElementById('photo'+i);
		if ('undefined'!=h) h.className = className;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
	return false;
}

function edo(path)
{
	window.open(path,'','width=1000,height=750,scrollbars=yes,resizable=yes');
	return false;
}
