/*
	Scroller Configuration File : "scrollerconfig.js"
*/

/*
Call "Scroller()" function with an array argument. The Array consists of following items:
i) "0" => Image Source/Path
ii) "1" => Link/URL (Redirection when Image is clicked)
iii) "2" => Target (Determines where redirection should open)
iv) "3" => Alternate text for the image ("alt" attribute value)
v) "4" => Width of Image
vi) "5" => Height of Image
vii) "6" => Tool tip for image ("title" attribute value)
*/
Scroller(['images/opal.jpg','index.php','_self','OPAL TELECOM',115,66,'OPAL TELECOM']);
Scroller(['images/t_mobile.jpg','index.php','_self','T-Mobile International',141,66,'T-Mobile International']);
Scroller(['images/orange.jpg','index.php','_self','orange',66,66,'orange']);
Scroller(['images/o2.jpg','index.php','_self','O2',66,66,'O2']);
Scroller(['images/vodafone.jpg','index.php','_self','vodafone',99,66,'vodafone']);
Scroller(['images/daisy.jpg','http://www.daisyplc.com/','_blank','daisy',66,66,'daisy']);
Scroller(['images/lan2lan.jpg','http://www.lan2lan.com/','_blank','LAN2LAN',62,66,'LAN2LAN']);
Scroller(['images/talk4eva.jpg','http://www.talk4eva.com/','_blank','talk4eva',104,66,'talk4eva']);
Scroller(['images/outsourcery.jpg','http://www.outsourcery.co.uk/','_blank','outsourcery',250,66,'outsourcery']);
Scroller(['images/kingston.jpg','http://www.kingstoncommunications.com/','_blank','Kingston Communications',129,66,'Kingston Communications']);
Scroller(['images/avaya.jpg','http://www.avaya.com/','_blank','AVAYA',104,66,'AVAYA']);
Scroller(['images/support.jpg','http://supporttelecom.com/','_blank','support telecom',100,66,'support telecom']);
Scroller(['images/prlogo.jpg','index.php','_self','',92,61,'']);
Scroller(['images/bt.jpg','http://www.bt.com/','_blank','BT',81,66,'BT']);
Scroller(['images/ttmobiles.jpg','http://www.ttmobiles.com/','_blank','ttmobiles',264,66,'ttmobiles']);


function Scroller(param) {
	if(!(window.ScrollerConfig)) {
		eval('window.ScrollerConfig=new Array();');
	};
	
	ScrollerConfig[ScrollerConfig.length]=param;
};

function ScrollerInit() {
	if (!window.Win1) {
		setTimeout('ScrollerInit()',370);
		return;
	};
	/*
		Create an Object with following arguments.
		i) Id of "div" tag used in the ".html" or ".php" file.
		ii) Width of the conveyor belt to be used.
		iii) Height of the conveyor belt to be used.
		iv) Speed of rotation.
		v) Time interval after which to call a user defined function.
		vi) Width of internal empty "div".
		vii) Distance between the last Image of the first conveyor belt and the first Image of the second conveyor belt.
		viii) Background colour of the conveyor belt.
		ix) Configuration array generated through "Scroller()" function.
		x) Use last two parameters for Browser compatibility.

	*/
	new HorImgScroller('divScroller',762,66,2,26,0,0,'FFFFFF',ScrollerConfig,1,1);
};

ScrollerInit();
