widthratio = width/1280;
heightratio = height/1024;
if (  screenwidth == 'wide'){
	widthratio = (width*0.795/1280);
 	document.write("<!-- Adjusted widthratio -->")
	adjustwidth=width*0.795;
}


//Write if Debug
if (appdebug == 1)
{
 document.write("<!-- You're screen resolution is set to "+adjustwidth+ "X" +height+ " screenratio: "+ screenwidth +"WidthRatio: "+widthratio+" HeightRatio: "+heightratio+" -->")
}


var Tscr_LOOK = {
	// tsper box size: [width, height]
	'size' : [Math.round(800*widthratio), Math.round(120*heightratio)],
	// a length of a gap between two neighboring items, pixels
	'distance' : Math.round(6*widthratio),
	'item_w' : Math.round(234*widthratio),
	// css classes for for item text
	's_i':'TScrItem2',
	// css classes for for tsper box
	's_b':'TScrBody1',
	// image for 'pause' control (autotsp mode only)
	// [left, top, width, height, sorce_file, mouseover_sorce_file]
	'pa' : [Math.round(305*widthratio), Math.round(70*heightratio), 19, 19,'http://www.pegasustech.com.au/pegasus/tsp_files/mpau.gif','http://www.pegasustech.com.au/pegasus/tsp_files/pau.gif'],
	// image for 'resume' control (autotsp mode only)
	// [left, top, width, height, sorce_file, mouseover_sorce_file]
	're' : [Math.round(305*widthratio), Math.round(70*heightratio), 19, 19,'http://www.pegasustech.com.au/pegasus/tsp_files/mres.gif','http://www.pegasustech.com.au/pegasus/tsp_files/res.gif'],
	// image for 'next item' control (autotsp mode only)
	// [left, top, width, height, sorce_file, mouseover_sorce_file]
	'nx' : [Math.round(329*widthratio), Math.round(70*heightratio), 19, 19,'http://www.pegasustech.com.au/pegasus/tsp_files/mnxt.gif','http://www.pegasustech.com.au/pegasus/tsp_files/nxt.gif'],
	// image for 'previous item' control (autotsp mode only)
	// [left, top, width, height, sorce_file, mouseover_sorce_file]
	'pr' : [Math.round(281*widthratio), Math.round(70*heightratio), 19, 19,'http://www.pegasustech.com.au/pegasus/tsp_files/mprv.gif','http://www.pegasustech.com.au/pegasus/tsp_files/prv.gif']
};

Tscr_BEHAVE = {
	// if tsping mode is auto (true / false); 
	'auto'  : true, 
	// if tsping direction is vertical (true / false, false means horisontal)
	'vertical' : false, 
	// tsping speed, pixels per 50 miliseconds;
	// for auto mode use negative value to reverse tsping direction
	'speed' : 5,
	'interval' : 30,
	'zindex':1,
	// buttons visible on mouse over - true, always visible - false
	'hide_buttons' : true
};

// a data to build tsp window content
Tscr_ITEMS = [ 
{
	'file' : '',
	'content' : '<table><tr><th><a href="http://www.pegasustech.com.au/modules/info/index.php?cat=1&id=52" class=scrollhead>Stress Free IT </a></th></tr><tr><td><a href="http://www.pegasustech.com.au/modules/info/index.php?cat=1&id=52" class=scroll><b>Managed IT</b> - Our IT support service is proactive; we work so that you dont need to call us. It is our responsibility to keep your IT working properly so that you can concentrate on what you know best: your job.</a></td></tr></table>',
	'pause_b' : 5,
	'pause_a' : 0
},
/*{
	'file' : '',
	'content' : '<table><tr><th><a href="http://www.pegasustech.com.au/modules/news/article.php?storyid=19" class=scrollhead>Are you the Managing Director ?</a></th></tr><tr><td><a href="http://www.pegasustech.com.au/modules/news/article.php?storyid=19" class=scroll>As long as your staff can work effectively, you are happy - right? Not quite. As long as your staff can work effectively and your IT support is providing value for money, you are happy.</a></td></tr></table>',
	'pause_b' : 5,
	'pause_a' : 0
},*/
{
	'file' : '',
	'content': '<table><tr><th><a href="http://www.pegasustech.com.au/modules/info/index.php?cat=1&id=23" class=scrollhead>Looking for Storage Solutions ?</a></th></tr><tr><td><a href="http://www.pegasustech.com.au/modules/info/index.php?cat=1&id=44" class=scroll>To successfully implement any form of Business Grade Virtualization, a common storage platform is required! <b>Pegasus Technology</b> can design, implerment and supply storage solutions to meet your needs!</a></td></tr></table>',
	'pause_b' : 5,
	'pause_a' : 0
},
/*{
	'file' : '',
	'content': '<table><tr><th><a href="http://www.pegasustech.com.au/modules/news/article.php?storyid=20" class=scrollhead>Are you the Finance Director ?</a></th></tr><tr><td><a href="http://www.pegasustech.com.au/modules/news/article.php?storyid=20" class=scroll>You , more than anyone, know that business is all about the numbers. How often have you seen contracts that seem like a good deal but the unbudgeted - but much needed - support provision has blown the budget sky-high?</a></td></tr></table>',
	'pause_b' : 5,
	'pause_a' : 0
},*/
{
	'file' : '',
	'content': '<table><tr><th><a href="http://www.pegasustech.com.au/modules/info/index.php?cat=1&id=23" class=scrollhead>Looking for Virtualization Solutions ?</a></th></tr><tr><td><a href="http://www.pegasustech.com.au/modules/info/index.php?cat=1&id=23" class=scroll>Pegasus Technology <b>Virtualization Architects</b> are available to assist you with your virtualization needs.</a></td></tr></table>',
	'pause_b' : 5,
	'pause_a' : 0
},
{
	'file' : '',
	'content': '<table><tr><th><a href="http://www.pegasustech.com.au/modules/news/article.php?storyid=10" class=scrollhead>Looking for Two Factor Authentication ?</a></th></tr><tr><td><a href="http://www.pegasustech.com.au/modules/news/article.php?storyid=10" class=scroll>VASCOs Two-Factor Authentication solutions use One-Time Password technology to secure user login and ensure only authenticated users gain access.</a></td></tr></table>',
	'pause_b' : 5,
	'pause_a' : 0
}

// add as many items here as you need.
// don't forget to separate them with commas, make sure there is no comma after the last item
];
