//--------------------------------------------------------------------------------------------------// All material contained within this and associated downloaded pages is the property of 4thorder(TM) // Copyright © 2005.  All rights reserved.//// Author: Michael Falatine || Authors email: 4thorder@4thorder.us//// USAGE: You may use this script for commercial or personal use, however, the copyright is retained-// by 4thorder (TM).//// For other free Scripts visit: http://www.4thorder.us/Scripts///---------------------------------------------------------------------------------------------------// |||||||||||||||||||||||||||||||||||||||||||// | Set Position, Dimensions And Color HERE  |// |||||||||||||||||||||||||||||||||||||||||||// Image Viewer Dimensions settings (pixels):	var PagePositionLEFT	= 494; 			// Set position of Image viewer from LEFT of page	var PagePositionTOP		= 494; 			// Set position of Image viewer from TOP of page	var InterFaceWidth 		= 480; 			// Set [Overall] WIDTH |||| minimum length=300	var ViewingAreaHeight	= 100; 			// Set [Viewing area] HEIGHT |||| minimum length=10	var OverALLBorder		= 'on'; 			// Set [Over All] Border 'on' or '' (blank) for off// Image Viewer Colors [example: 'red' or '#FF0000']	var OverALLBorderColor	= 'white'; 		// Set color of [Over All] Border	var ControlsBGColor		= 'white'; 		// Set color of [Control Area] Background |||| use '' = no color	var ControlsFontColor	= 'white'; 		// Set color of [Control Area] Font	var ViewAreaBGColor		= 'white';		// Set color of [Viewing Area] Background |||| use '' = no color	var ImageBorderColor	= 'white'; 		// Set color of [Image] Border	var ButtonBGColor		= '#222240'; 		// Set color of [Button] Background	var ButtonFontColor		= 'white'; 		// Set color of [Button] Font	var ButtonBorderColor	= 'white'; 		// Set color of [Button] border// Image Alignment	var ImageValignment		= 'middle'; 		// Set verticle alignment within viewer (options: top, bottom. middle)	function docjslib_getRealLeft(imgElem) {	xPos = eval(imgElem).offsetLeft;	tempEl = eval(imgElem).offsetParent;  	while (tempEl != null) {  		xPos += tempEl.offsetLeft;  		tempEl = tempEl.offsetParent;  	}	return xPos;}function docjslib_getRealTop(imgElem) {	yPos = eval(imgElem).offsetTop;	tempEl = eval(imgElem).offsetParent;	while (tempEl != null) {  		yPos += tempEl.offsetTop;  		tempEl = tempEl.offsetParent;  	}	return yPos;}