<!--Start of news functions and variables-->

var scrollerwidth=240
var scrollerheight=200
var pausebetweenimages=5000

var vSlideContent=new Array()

vSlideContent[0]='<br/>'
vSlideContent[1]='<b>Site launched</b><br/>View the new website for <a class="smallLink" href="http://www.donnamaisey.co.uk" target="_blank">Donna Maisey Skin Care</a>!'
vSlideContent[2]='<b>Site launched</b><br/>View the new website for <a class="smallLink" href="http://www.papini.co.uk" target="_blank">Papini UK</a>!'
vSlideContent[3]='<b>Site launched</b><br/>View the new website for <a class="smallLink" href="http://www.marymoore.ie" target="_blank">Mary Moore Relocation Services</a>!'
vSlideContent[4]='<b>Site launched</b><br/>View the new website for <a class="smallLink" href="http://www.stationerystore.ie" target="_blank">The Stationery Store</a>!'
vSlideContent[5]='<b>Site launched</b><br/>View the new website for <a class="smallLink" href="http://www.allseasons.ie" target="_blank">All Seasons</a>!'
vSlideContent[6]='<b>Upcoming site</b><br/>Work starts on a new website for Everything In Pine.'
vSlideContent[7]='<b>Wear us!</b><br/>Buy digitalstream.ie merchandise at the new Digital Stream<br /><a class="smallLink" href="http://www.cafeshops.com/digitalstream" target="_blank">online store</a>!'

if (vSlideContent.length>1)
i=2
else
i=0

function locateObject(n, d) { //v3.0
  var p,i,x;
  if(!d) d=document;
  if((p=n.indexOf("?"))>0&&parent.frames.length)
  {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);
    }
  if(!(x=d[n])&&d.all) x=d.all[n];

  for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=locateObject(n,d.layers[i].document);
  return x;
}

function moveVTextFirstBlock(whichdiv)
{

if (document.all)
{
	tdiv=eval(whichdiv)

	if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5)
	{
		tdiv.style.pixelTop=0
		setTimeout("moveVTextFirstBlock(tdiv)",pausebetweenimages)
		setTimeout("moveVTextSecondBlock('vTextSecond')",pausebetweenimages)
		return
	}
	if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1)
	{
		tdiv.style.pixelTop-=5
		setTimeout("moveVTextFirstBlock(tdiv)",10)
	}
	else
{
		tdiv.style.pixelTop=scrollerheight+5
window.status=tdiv.style.pixelTop;
	tdiv.innerHTML=vSlideContent[i]
	if (i==vSlideContent.length-1)
	i=0
else
	i++
}
}
else
{
tlayer=eval(whichdiv)
if (tlayer.top>0&&tlayer.top<=5)
{
tlayer.top=0
setTimeout("moveVTextFirstBlock(tlayer)",pausebetweenimages)
setTimeout("moveVTextSecondBlock(locateObject('vTextSecond'))",pausebetweenimages)
return
}
if (tlayer.top>=tlayer.document.height*-1)
{
tlayer.top-=5
setTimeout("moveVTextFirstBlock(tlayer)",10)
}
else
{
tlayer.top=scrollerheight+5
tlayer.document.write(vSlideContent[i])
tlayer.document.close()
if (i==vSlideContent.length-1)
i=0
else
i++
}
}
}

function moveVTextSecondBlock(whichdiv)
{
if (document.all)
{
tdiv2=eval(whichdiv)

if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5)
{
	tdiv2.style.pixelTop=0
	setTimeout("moveVTextSecondBlock(tdiv2)",pausebetweenimages)
	setTimeout("moveVTextFirstBlock('vTextFirst')",pausebetweenimages)
	return
}
window.status=tdiv2.offsetHeight;
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
	tdiv2.style.pixelTop-=5
	setTimeout("moveVTextSecondBlock('vTextSecond')",10)
}
else
{
	tdiv2.style.pixelTop=scrollerheight+5
window.status=tdiv2.style.pixelTop
	tdiv2.innerHTML=vSlideContent[i]
	if (i==vSlideContent.length-1)
	i=0
else
	i++
}
}
else if (document.layers)
{
tlayer2=eval(whichdiv)

if (tlayer2.top>0&&tlayer2.top<=5)
{
tlayer2.top=0
setTimeout("moveVTextSecondBlock(tlayer2)",pausebetweenimages)
setTimeout("moveVTextFirstBlock(locateObject('vTextMain').document.layers['vTextFirst'])",pausebetweenimages)
return
}
if (tlayer2.top>=tlayer2.document.height*-1)
{
tlayer2.top-=5
setTimeout("moveVTextSecondBlock(tlayer2)",10)
}
else
{
tlayer2.top=scrollerheight+5
tlayer2.document.write(vSlideContent[i])
tlayer2.document.close()
if (i==vSlideContent.length-1)
i=0
else
i++
}
}
}

function startVTextScroll(){
if (document.all)
{
	locateObject('vTextSecond').style.top=scrollerheight+5
	locateObject('vTextFirst').visibility='visible';
	locateObject('vTextSecond').visibility='visible';
	moveVTextFirstBlock(locateObject("vTextFirst"))
}
else if (document.layers)
{
	locateObject('vTextMain').visibility='show'
	locateObject('vTextFirst').visibility='show'
	locateObject('vTextSecond').top=scrollerheight+5
	locateObject('vTextSecond').visibility='show'
	moveVTextFirstBlock(locateObject('vTextMain').document.layers['vTextFirst'])
}
}

<!--End of news functions and variables-->

<!--Start of email functions and variables-->

var edressInfo = 'info_at_digitalstream_dot_ie';
var edressSales = 'sales_at_digitalstream_dot_ie';
var edressSupport = 'support_at_digitalstream_dot_ie';

function get_edressInfo(){
var re= /_at_/gi;
edressInfo = edressInfo.replace(re,'@');
var re= /_dot_/gi;
edressInfo = edressInfo.replace(re,'.');
var the_link="mai" + "lto" +":"+edressInfo+"?subject=General%20information%20request&body=To%20Digital%20Stream%2C%0D%0A" ;
window.location=the_link;
}

function get_edressSales(){
var re= /_at_/gi;
edressSales = edressSales.replace(re,'@');
var re= /_dot_/gi;
edressSales = edressSales.replace(re,'.');
var the_link="mai" + "lto" +":"+edressSales+"?subject=Sales%20query&body=To%20Digital%20Stream%2C%0D%0A" ;
window.location=the_link;
}

function get_edressSupport(){
var re= /_at_/gi;
edressSupport = edressSupport.replace(re,'@');
var re= /_dot_/gi;
edressSupport = edressSupport.replace(re,'.');
var the_link="mai" + "lto" +":"+edressSupport+"?subject=Support%20query&body=To%20Digital%20Stream%2C%0D%0A" ;
window.location=the_link;
}

function writeEmailInfo() {
document.write("<a class='smallLink' href='#' onClick='get_edressInfo();return false;'>info@digitalstream.ie</a>");
}

function writeEmailSales() {
document.write("<a class='smallLink' href='#' onClick='get_edressSales();return false;'>sales@digitalstream.ie</a>");
}

function writeEmailSupport() {
document.write("<a class='smallLink' href='#' onClick='get_edressSupport();return false;'>support@digitalstream.ie</a>");
}

<!--End of email functions and variables-->

<!--Start of date functions and variables-->

var myDate=new Date();
var myYear = myDate.getYear();
var CopyrightYear = myDate.getYear();
var myMonth = myDate.getMonth();
var myDay = myDate.getDay();
var myDayNo = myDate.getDate();
var myHrs = myDate.getHours();
var myMin = myDate.getMinutes();
var mySec = myDate.getSeconds();

var MonthName = new Array(12);
MonthName[1] ="January";
MonthName[2] ="February";
MonthName[3] ="March";
MonthName[4] ="April";
MonthName[5] ="May";
MonthName[6] ="June";
MonthName[7] ="July";
MonthName[8] ="August";
MonthName[9] ="September";
MonthName[10] ="October";
MonthName[11] ="November";
MonthName[12] ="December";

var DayName = new Array(7);
DayName[1] ="Sunday";
DayName[2] ="Monday";
DayName[3] ="Tuesday";
DayName[4] ="Wednesday";
DayName[5] ="Thursday";
DayName[6] ="Friday";
DayName[7] ="Saturday";

function writeDate() {
document.write(DayName[myDay+1] + ", " + myDayNo + " "  + MonthName[myMonth+1] + " " + myYear + "<br>");
}

function writeCopyright() {
document.write(CopyrightYear);
}

<!--End of date functions and variables-->