
// WWW Support Services concepts and systems are proprietary and strictly copyright all rights reserved since 1996. Use on servers, imitation and duplication of any part a WWW Support Services system including: look, feel, methodology, functionality and software is strictly prohibited without written license to do so and pre payment of appropriate fees.


// page load start

function start()
{

if(advertson){

if(advertson=="on"){

displayadverts()

// smartbannerPannel()

}}
}


// in text links mouse out / over code

var mouc=""
var movc="00C000"

function mou(n){n.style.backgroundColor=mouc}
function mov(n){n.style.backgroundColor=movc}


// display fixed adverts V2.0

var verticalAdSpace=0
var ads=""
var temp=""
var temp2=0
var adheight=0

function displayadverts()
{

ta=getPositionY('fixedAdsTop')
ba=getPositionY('AdsBottom')
verticalAdSpace=(ba-ta)-20

for(i=0; i<advert.length; i++)
{
temp=unescape(advert[i])
temp2=temp.indexOf(" ")
adheight=parseInt(temp.substring(2,temp2))
verticalAdSpace-=adheight
if(verticalAdSpace>0){ads+=temp}
}
document.getElementById('fixedAdsTop').innerHTML=ads
}


function getPositionY(n)
{
obj=document.getElementById(n)
positionY=0
if (document.getElementById || document.all){while(obj.offsetParent){positionY+=obj.offsetTop; obj=obj.offsetParent }}
else if(document.layers){positionY+=obj.y}
return positionY
}

// end display fixed adverts V2.0


// SmartBanner Pannel V4.0 addition (requires - display fixed adverts V2.0)

function smartbannerPannel()
{
if(verticalAdSpace>100){document.getElementById('smartbannerTop').innerHTML='<IFRAME ID="smartbanner" SRC="http://www.smartbanner.co.uk/cgi-bin/smartbannerads.pl?'+verticalAdSpace+'" WIDTH=100% HEIGHT='+verticalAdSpace+' frameborder=0 marginwidth=0 scrolling=no marginheight=0 allowtransparency=true vspace=0 hspace=0></IFRAME>'}
}

// end SmartBanner Pannel V4.0


// PAYPAL buy DVD Section

function buydvd(n)
{
document.forms.paypal.item_name.value=n
document.forms.paypal.submit()
}

// end PAYPAL buy DVD Section


