/*
Pausing updown message scroller-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
Terms Of Use, visit http://www.dynamicdrive.com
*/
//configure the below five variables to change the style of the scroller
var scrollerwidth = '420px'
var scrollerheight = '65px'
var scrollerbgcolor = '#E6E4E5'
//set below to '' if you don't wish to use a background image
var scrollerbackground = ''
var timeout = 3000
var scrollspeed = 3
//configure the below variable to change the contents of the scroller
var messages = new Array()
function makeTable(str)
{
return "
"
}
var k=0;
messages[k++] = makeTable("Breaking News....")
messages[k++] = makeTable("AD Group Plans To Fit FlightVu To Capture Historic Vulcan V-Bomber's Return To Flight (click here to read more)");
messages[k++] = makeTable("Austrian Airlines Chooses CabinVu-123 from AD Aerospace (click here to read more)");
messages[k++] = makeTable("airBaltic Selects Cockpit Security from AD Aerospace (click here to read more)");
messages[k++] = makeTable("bmibaby returns to AD Aerospace for Cockpit Door Security Systems (click here to read more)");
messages[k++] = makeTable("AD Aerospace to Supply Combi Aircraft Video System to Astraeus (click here to read more)");
messages[k++] = makeTable("Blue Panorama Chooses Cockpit Security Video System from AD Aerospace (click here to read more)");
messages[k++] = makeTable("AD Aerospace Appoints G&G Aviation as Italian Representatives (click here to read more)");
messages[k++] = makeTable("Comair First African Customer for AD Aerospace Cockpit Door Monitoring System (click here to read more)");
messages[k++] = makeTable("AD Group Sponsored RML MG Lola wins LMP2 at Nurburgring 1000 kms (click here to read more)");
messages[k++] = makeTable("Boeing Selects AD Aerospace to Provide Direct View Camera System (click here to read more)");
messages[k++] = makeTable("Hong Kong Express Airways Selects AD Aerospace for Cockpit Door Monitoring System (click here to read more)");
messages[k++] = makeTable("ILFC Chooses FlightVu from AD Aerospace for MFD Cockpit Door Video Security System (click here to read more)");
messages[k++] = makeTable("TUI Selects AD Aerospace for MFD Cockpit Door Camera System (click here to read more)");
messages[k++] = makeTable("AD Aerospace Improves Customer Service with Increased Presence in Australasia, Africa and the Middle East (click here to read more)");
messages[k++] = makeTable("New Aerospace IP Safety and Security Cameras from AD Aerospace (click here to read more)");
messages[k++] = makeTable("AD Holdings Inc Achieves FAR 145 Certification (click here to read more)");
messages[k++] = makeTable("British Airways Selects AD Aerospace for Baggage Security System (click here to read more)");
messages[k++] = makeTable("AD GROUP CELEBRATES A STUNNING SECOND VICTORY AT LE MANS (click here to read more)");
messages[k++] = makeTable("Innovative Sensor Developments Joins AD Aerospace (click here to read more)");
messages[k++] = makeTable("AD GROUP CELEBRATES QUEEN’S AWARD WIN FOR TRANSVU MOBILE CCTV SYSTEM (click here to read more)");
messages[k++] = makeTable("Sama to be Launch Customer for CabinVu-123 the New Low Weight Low Cost CDMS from AD Aerospace (click here to read more)");
messages[k++] = makeTable("AGM Aviation Services has Selected AD Aerospace to be its Supplier of Cockpit Door Monitoring Systems (click here to read more)");
messages[k++] = makeTable("AD Aerospace to Supply In-Flight Security to Cirrus (click here to read more)");
messages[k++] = makeTable("AD Aerospace Has Been Awarded Boeing Technical Offerability For MFD Camera Interface (click here to read more)");
messages[k++] = makeTable("Boeing Selects AD Aerospace to Provide Video Monitoring on B747-LCF (click here to read more)");
messages[k++] = makeTable("AD Aerospace Welcomes the FAA NRPM on Cockpit Door Monitoring (click here to read more)");
messages[k++] = makeTable("AD Aerospace Selects AvSupport For North American Sales Expansion (click here to read more)");
messages[k++] = makeTable("AirAsia Improves Its In-Flight Security (click here to read more)");
messages[k++] = makeTable("AD Aerospace Gains MD-80 Certification (click here to read more)");
messages[k++] = makeTable("AD Drives To Success At Le Mans 24 Hours (click here to read more)");
messages[k++] = makeTable("AD Aerospace FlightVu CabinVu Now Certified for Airbus A330 (click here to read more)");
messages[k++] = makeTable("AD Aerospace Achieves Boeing Offerabilty For EFB Camera Interface Unit (click here to read more)");
messages[k++] = makeTable("AD Aerospace Launches New Low Cost CDMS - CabinVu-123 (click here to read more)");
messages[k++] = makeTable("BWIA First Caribbean Airline to Improve In-Flight Security (click here to read more)");
messages[k++] = makeTable("Germania Selects FlightVu CDMS For MD-80’s (click here to read more)");
messages[k++] = makeTable("FlightVu CDMS Enhances Aircraft Security For Hapag Lloyd Express (click here to read more)");
messages[k++] = makeTable("Mike Horne Testifies as Expert Witness to NTSB on Cockpit Image Recording (click here to read more)");
messages[k++] = makeTable("Corsair Selects FlightVu CDMS For Aircraft Security (click here to read more)");
messages[k++] = makeTable("Britannia Nordic Latest Airline To Adopt FlightVu CDMS (click here to read more)");
messages[k++] = makeTable("AD Aerospace US Office Relocates Following Expansion (click here to read more)");
messages[k++] = makeTable("Air Seychelles Looks To FlightVu For In-flight Security (click here to read more)");
messages[k++] = makeTable("Thomsonfly Selects FlightVu CDMS For Enhanced Cockpit Security (click here to read more)");
messages[k++] = makeTable("AD Aerospace Appoints Lexian Electronics As Agent for Asia (click here to read more)");
messages[k++] = makeTable("Hapag Lloyd Enhances Inflight Security With FlightVu CDMS (click here to read more)");
messages[k++] = makeTable("AD Aerospace Moves to Larger Premises Following Growth (click here to read more)");
messages[k++] = makeTable("Flyjet Selects FlightVu Cockpit Door Video Security (click here to read more)");
messages[k++] = makeTable("FlightVu Cockpit Door Monitoring System Chosen By AV8air (click here to read more)");
messages[k++] = makeTable("AD Aerospace Ships 150th FlightVu Aerospace Camera Security System (click here to read more)");
messages[k++] = makeTable("Astraeus Selects FlightVu Cockpit Door Video Security (click here to read more)");
messages[k++] = makeTable("AEI Gain STCs for Cockpit Door Monitoring Systems on Boeing 757 and 767 (click here to read more)");
messages[k++] = makeTable("Britannia Chooses FlightVu Cockpit Door Monitoring System (click here to read more)");
messages[k++] = makeTable("AD Aerospace Equipment Selected By Continental Airlines (click here to read more)");
messages[k++] = makeTable("AD Aerospace and AEI Team Up to Provide Complete Aircraft Video Security Solutions (click here to read more)");
messages[k++] = makeTable("AD Aerospace offer solutions to Aircraft Security problems (click here to read more)");
///////Do not edit pass this line///////////////////////
var ie = document.all
var dom = document.getElementById
if (messages.length > 2)
i = 2
else
i = 0
function move1(whichlayer)
{
tlayer = eval(whichlayer)
if (tlayer.top > 0 && tlayer.top <= scrollspeed)
{
tlayer.top = 0
setTimeout("move1(tlayer)", timeout)
setTimeout("move2(document.main.document.second)", timeout)
return
}
if (tlayer.top >= tlayer.document.height * -1)
{
tlayer.top -= scrollspeed
setTimeout("move1(tlayer)", 50)
}
else
{
tlayer.top = parseInt(scrollerheight)
tlayer.document.write(messages[i])
tlayer.document.close()
if (i == messages.length - 1)
i = 0
else
i++
}
}
function move2(whichlayer)
{
tlayer2 = eval(whichlayer)
if (tlayer2.top > 0 && tlayer2.top <= scrollspeed)
{
tlayer2.top = 0
setTimeout("move2(tlayer2)", timeout)
setTimeout("move1(document.main.document.first)", timeout)
return
}
if (tlayer2.top >= tlayer2.document.height * -1)
{
tlayer2.top -= scrollspeed
setTimeout("move2(tlayer2)", 50)
}
else
{
tlayer2.top = parseInt(scrollerheight)
tlayer2.document.write(messages[i])
tlayer2.document.close()
if (i == messages.length - 1)
i = 0
else
i++
}
}
function move3(whichdiv)
{
tdiv = eval(whichdiv)
if (parseInt(tdiv.style.top) > 0 && parseInt(tdiv.style.top) <= scrollspeed)
{
tdiv.style.top = 0 + "px"
setTimeout("move3(tdiv)", timeout)
setTimeout("move4(second2_obj)", timeout)
return
}
if (parseInt(tdiv.style.top) >= tdiv.offsetHeight * -1)
{
tdiv.style.top = parseInt(tdiv.style.top) - scrollspeed + "px"
setTimeout("move3(tdiv)", 50)
}
else
{
tdiv.style.top = parseInt(scrollerheight)
tdiv.innerHTML = messages[i]
if (i == messages.length - 1)
i = 0
else
i++
}
}
function move4(whichdiv)
{
tdiv2 = eval(whichdiv)
if (parseInt(tdiv2.style.top) > 0 && parseInt(tdiv2.style.top) <= scrollspeed)
{
tdiv2.style.top = 0 + "px"
setTimeout("move4(tdiv2)", timeout)
setTimeout("move3(first2_obj)", timeout)
return
}
if (parseInt(tdiv2.style.top) >= tdiv2.offsetHeight * -1)
{
tdiv2.style.top = parseInt(tdiv2.style.top) - scrollspeed + "px"
setTimeout("move4(second2_obj)", 50)
}
else
{
tdiv2.style.top = parseInt(scrollerheight)
tdiv2.innerHTML = messages[i]
if (i == messages.length - 1)
i = 0
else
i++
}
}
function startscroll()
{
if ((ie || dom) && (!document.layers))
{
first2_obj = dom ? document.getElementById("first2") : first2
second2_obj = dom ? document.getElementById("second2") : second2
move3(first2_obj)
second2_obj.style.top = scrollerheight
second2_obj.style.visibility = 'visible'
}
else if (document.layers)
{
document.main.visibility = 'show'
move1(document.main.document.first)
document.main.document.second.top = parseInt(scrollerheight) + scrollspeed
document.main.document.second.visibility = 'show'
}
}
//window.onload = startscroll