// JavaScript Document

//window.addEvent('domready', function(){
//	/* thumbnails example , links only */
//	new SlideItMoo({itemsVisible:5, // the number of thumbnails that are visible
//					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
//					thumbsContainer: 'thumbs',
//					elementScrolled: 'thumb_container',
//					overallContainer: 'gallery_container'});
//	
//});

/* for swf object start */

function __EmbedSwf(pFileName,pObjName,pWidth,pHeight,pFlashVars,pContainer,pVersion){if(swfobject){var params={};params.quality="high";params.scale="showall";params.wmode="transparent";params.allowScriptAccess="always";params.allowFullScreen="true";var attributes={};attributes.id=pObjName;attributes.name=pObjName;
params.align="middle";
if(!pVersion){pVersion="9.0.0";}
swfobject.embedSWF(pFileName,pContainer,pWidth,pHeight,pVersion,"swf/expressInstall.swf",pFlashVars,params,attributes);}}

/* for swf object end */

//
/* Alternate Show/Hide Script
Global "swap" holder
Use value, null, if no layer initially visible
*/
var currLayerId = "step1";

function togLayer(id) {
    if (currLayerId) setDisplay(currLayerId, "none");
    if (id) setDisplay(id, "block");
    currLayerId = id;
}

function setDisplay(id, value) {
    var elm = document.getElementById(id);
    elm.style.display = value;
}



/* highslide image zoom 

	hs.graphicsDir = '../images/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;

	// define the restraining box
	hs.useBox = true;
	hs.width = 320;
	hs.height = 480;

	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: 1,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});*/