<!-- 

var newWindow;
	function popup(URL,width,height) 
		{
			if(!newWindow || newWindow.closed )
				{
					newWindow = window.open(URL,'script','toolbar=0,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,dependent=yes,width='+width+',height='+height+',left=60,top=60');
    newWindow.focus();
	}
	else
	{
		newWindow.resizeTo(width+12,height+30);
    newWindow.focus();
	}
}


var ns4=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);

function hidediv(groupid)
{
	if(!ns4 && !ie && !w3) return;
	if(ie) thisgroup=eval('document.all.' + groupid + '.style');
	else if(ns4) thisgroup=eval('document.layers["' + groupid +'"]');
	else if(w3) thisgroup=eval('document.getElementById("' + groupid + '").style');
	thisgroup.display ="none";
}

function showdiv(groupid){
	if(!ns4 && !ie && !w3) return;
	if(ie) thisgroup=eval('document.all.' + groupid + '.style');
	else if(ns4) thisgroup=eval('document.layers["' + groupid +'"]');
	else if(w3) thisgroup=eval('document.getElementById("' + groupid + '").style');
	thisgroup.display=""; 
}

function hideAll() 
{
	hidediv('gallerymain');
	hidediv('galleryalt');
}

function setDiv(groupid){
	hideAll();
	showdiv(groupid);
}





function init_dw_Scroll() {
    var wndo = new dw_scrollObj('wn', 'lyr1', 't1');
    wndo.setUpScrollControls('scrollLinks');
}

// if necessary objects exists link in the style sheet and call the init function onload
if ( dw_scrollObj.isSupported() ) {
    //dw_writeStyleSheet('css/scroll.css');
    dw_Event.add( window, 'load', init_dw_Scroll);
}

   // -->
