//-------------------------------------------------------------------------
// Vertical Scrolling News Ticker
// XHTML Compat
// Version 2.0
// Copyright 2006 DevDude.com
//-------------------------------------------------------------------------
	
	//scroller width
var swidth=308;

//scroller height
var sheight=1;

//background color 
var sbcolor="#FFFFFF";

//scroller's speed
var sspeed=2;

var msg='';

//Your messages go below:

				
msg=
'<ul><li>Website Design</li></ul>'+
'<ul><li>Logo Design</li></ul>'+
'<ul><li>Flash Sites</li></ul>'+
'<ul><li>Static / Animated banners</li></ul>'+
'<ul><li>Ecommerce</li></ul>'+
'<ul><li>Social Networking Sites</li></ul>'+
'<ul><li>CMS</li></ul>'+
'<ul><li>Website Development</li></ul>'+
'<ul><li>Joomla</li></ul>'+
'<ul><li>Oscommerce</li></ul>'+
'<ul><li>3D animation</li></ul>'+
'<ul><li>Presentations</li></ul>'+
'<ul><li>Domain name registration</li></ul>'+
'<ul><li>Website hosting</li></ul>'+
'<ul><li>Word Press</li></ul>'+
'<ul><li>Modx</li></ul>'+
'<ul><li>CSS/XHTML</li></ul>'+
'<ul><li>W3C Standards </li></ul>'+
'<ul><li>Online Payments</li></ul>'+
'<ul><li>Email design </li></ul>'+
'<ul><li>Ebrochures</li></ul>'+
'<ul><li>Blog</li></ul>'+
'<ul><li>Databases </li></ul>'+
'<ul><li>IT Consultancy</li></ul>';

//End of your messages


var resumesspeed=sspeed
function start() {
	if (document.all) iemarquee(ticker);
	else if (document.getElementById)
		ns6marquee(document.getElementById('ticker'));
}

function iemarquee(whichdiv){
	iediv=eval(whichdiv)
	sheight += 5;
	iediv.style.pixelTop=sheight
	iediv.innerHTML=msg 
	sizeup=iediv.offsetHeight
	ieslide()
}

function ieslide(){
	if (iediv.style.pixelTop>=sizeup*(-1)){
		iediv.style.pixelTop-=sspeed
		setTimeout("ieslide()",100)
	}
	else{
		iediv.style.pixelTop=sheight
		ieslide()
	}
}

function ns6marquee(whichdiv){
	ns6div=eval(whichdiv)
	sheight += 5;
	ns6div.style.top=sheight + "px";
	ns6div.innerHTML=msg
	sizeup=ns6div.offsetHeight
	ns6slide()
}
function ns6slide(){
	if (parseInt(ns6div.style.top)>=sizeup*(-1)){
		theTop = parseInt(ns6div.style.top)-sspeed
		ns6div.style.top = theTop + "px";
		setTimeout("ns6slide()",100)
	}
	else {
		ns6div.style.top = sheight + "px";
		ns6slide()
	}
}