function setFrames(menubar,something) {parent.contents.document.location.href= something;
document.location.href = menubar;
}
function setFrames2(menubar,something) {parent.contents.document.location.href= something;
parent.menubar.document.location.href = menubar;
}
// ROTATING ADS
//Laurence Kwek - last modified 25 September 2001
//User defined variables - change these variables to alter the behaviour of the script
var ImageFolder = "../ads/images/"; //Folder name containing the images for product page
var ImageFolderindex = "ads/images/"; //Folder name containing the images for main page
var ImageFileNames = new Array('canon.gif','Dell.gif','sub_banner.gif'); //List of images to use
var ImageURLs = new Array('http://www.canon.com.au/DigitalImage','../interfce/frmesub2x.htm','../interfce/frmesub2.htm'); //List of hyperlinks associated with the list of images
var ImageURLsindex = new Array('http://www.canon.com.au/DigitalImage','interfce/frmesub2x.htm','interfce/frmesub2.htm'); //List of hyperlinks associated with the list of images
var DefaultURL = 'default.htm'; //Default hyperlink for the Banner Ad
var DisplayInterval = 5; //Number of seconds to wait before the next image is displayed
var TargetFrame = "parent"; //Name of the frame to open the hyperlink into
//Internal variables (do not change these unless you know what you are doing)
var IsValidBrowser = false;
var BannerAdCode = 0;
var BannerAdImages = new Array(NumberOfImages);
var DisplayInterval = DisplayInterval * 2000;
var NumberOfImages = ImageFileNames.length;
//Add a trailing forward slash to the ImageFolder variable if it does not already have one