function infoscroll(seed,looped){
var text1 = "Damage Waiver Available to ZERO LIABILITY ";
var text2 = "                      We are available 24 hours, 7 days a week";
var text3 = "                      Free airport and local pickups and dropoffs (office hours)";
var text4 = "                      24 hour RACQ road side assistance";
var text5 = "                      Unlimited kilometres available";
var text6 = "                      GST & Insurance included";
var text7 = "                      Street Directories";
var text8 = "                      Multiple drivers at no extra charge";
var text9 = "                      21 years and over drivers welcome";
var text10 = "                     Cash deposits acceptable";
var text11 = "                     We are only 10 minutes from the airport and CBD";
var text12 = "                     Major credit cards accepted";
var text13 = "                     Baby and booster seats available";
var msg=text1+text2+text3;var putout = " ";
        var c   = 1;
	if (looped > 10) {
		window.status="<Thanks !>";
	}
	else if (seed > 100) 
{
                seed--;
                var cmd="infoscroll(" + seed + "," + looped + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 100 && seed > 0) {
                for (c=0 ; c < seed ; c++) {
                        putout+=" ";
                }
putout+=msg.substring(0,100-seed);	
                seed--;
                var cmd="infoscroll(" + seed + "," + looped + ")";
                    window.status=putout;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) 
{
                if (-seed < msg.length) 
{
                        putout+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="infoscroll(" + seed + "," + looped + ")";
                        window.status=putout;
                        timerTwo=window.setTimeout(cmd,100); // 100
                }
                else {
                        window.status=" ";
			looped += 1;
			var cmd = "infoscroll(100," + looped + ")";
                       timerTwo=window.setTimeout(cmd,75); // 75
                }
        }
}

function newWindow(mypage,myname,w,h,features) {
  if(screen.width){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  }else{winl = 0;wint =0;}
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
} 

function MM_findObj(n, d) { //v4.01
  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=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function fadepic(){
if (curpos<100){
curpos+=10
if (tempobj.filters)
tempobj.filters.alpha.opacity=curpos
else if (tempobj.style.MozOpacity)
tempobj.style.MozOpacity=curpos/101
}
else{
clearInterval(dropslide)
nextcanvas=(curcanvas=="canvas0")? "canvas0" : "canvas1"
tempobj=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj.innerHTML=insertimage(nextimageindex)
nextimageindex=(nextimageindex<fadeimages.length-1)? nextimageindex+1 : 0
var tempobj2=ie4? eval("document.all."+nextcanvas) : document.getElementById(nextcanvas)
tempobj2.style.visibility="hidden"
setTimeout("rotateimage()",pause)
}
}

function insertimage(i){
var tempcontainer=fadeimages[i][1]!=""? '<a href="'+fadeimages[i][1]+'" target="'+fadeimages[i][2]+'">' : ""
tempcontainer+='<img src="'+fadeimages[i][0]+'" border="0">'
tempcontainer=fadeimages[i][1]!=""? tempcontainer+'</a>' : tempcontainer
return tempcontainer
}

function rotateimage(){
if (ie4||dom){
resetit(curcanvas)
var crossobj=tempobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.style.zIndex++
tempobj.style.visibility="visible"
var temp='setInterval("fadepic()",50)'
dropslide=eval(temp)
curcanvas=(curcanvas=="canvas0")? "canvas1" : "canvas0"
}
else
document.images.defaultslide.src=fadeimages[curimageindex][0]
curimageindex=(curimageindex<fadeimages.length-1)? curimageindex+1 : 0
}

function resetit(what){
curpos=10
var crossobj=ie4? eval("document.all."+what) : document.getElementById(what)
if (crossobj.filters)
crossobj.filters.alpha.opacity=curpos
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=curpos/101
}

function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML=insertimage(curimageindex)
rotateimage()
}

var slideshow_width='547px' //SET IMAGE WIDTH
var slideshow_height='140px' //SET IMAGE HEIGHT
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)


var fadeimages=new Array()
//SET 1) IMAGE PATHS, 2) optional link, 3), optional link target:
fadeimages[0]=["images/river.jpg", "", ""] //plain image syntax
fadeimages[1]=["images/river2.jpg", "", ""] //plain image syntax
fadeimages[2]=["images/river3.jpg", "", ""] //plain image syntax
fadeimages[3]=["images/river4.jpg", "", ""] //plain image syntax
fadeimages[4]=["images/river5.jpg", "", ""] //plain image syntax

var preloadedimages=new Array()
for (p=0;p<fadeimages.length;p++){
preloadedimages[p]=new Image()
preloadedimages[p].src=fadeimages[p][0]
}

var ie4=document.all
var dom=document.getElementById

var curpos=10
var degree=10
var curcanvas="canvas0"
var curimageindex=0
var nextimageindex=1

function startshow()
{
	/***********************************************
* Fade-in image slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/


////NO need to edit beyond here/////////////


if (ie4||dom)
document.write('<div style="position:relative;width:'+slideshow_width+';height:'+slideshow_height+';overflow:hidden"><div  id="canvas0" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10"></div><div id="canvas1" style="position:absolute;width:'+slideshow_width+';height:'+slideshow_height+';top:0;left:0;filter:alpha(opacity=10);-moz-opacity:10;visibility: hidden"></div></div>')
else
document.write('<img name="defaultslide" src="'+fadeimages[0][0]+'">')



if (ie4||dom)
window.onload=startit
else
setInterval("rotateimage()",pause)
}








var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}




function print_testimonial()
{
	var tes = new Array();
	
	tes[0] = "Wow! Your rates are the best I have ever seen and we have rented a few cars in our time, great website and so please I surfed around looking for better deals and found you. Thanks!";
	tes[1] = "Just a short note to say the Golf Trip went very well and the group really enjoyed themselves. Thank you for making it successful by your efficient attention. We enjoy catching up with you every year.";
	tes[2] = "During my check in she still fielded calls in a most professional manner and with a very exacting and humorous style. - I know to her it might 'be just a job', but please pass on my utmost appreciation for all she did for me, maps, explanations of how to get out of Brisbane, insurance details, the car itself checked, and most importantly she was genuinely appreciative that I had hired the car from her!";
	tes[3] = "..we wish to express our gratitude to you all for your outstanding service. We rented your Camry from the 20 - 27 Aug we had a fantastic time we wish to express how friendly Rose was when she picked us up from the airport. The man with the long hair that dropped us off was a top bloke. We hope to be back over Christmas and look forward to using your services again...";
	tes[4] = "We have thoroughly enjoyed our holiday and having a car to move around in, contributed to that and we do not hesitate to recommend Brisbane Rent A Car to our friends...";
	tes[5] = "Thank you to you and your team for the service we received when renting a vehicle from Brisbane Rent A Car. We were impressed with the friendly hassle free service, the vehicle rented was well presented and mechanically maintained. The pick up and drop off service at the airport that your team provides removes a lot of hassles for visitors. Many thanks once again.";
	document.write(tes[Math.floor(Math.random()*tes.length)]);
}