<!--

// Preload nav rollover images
RLHomeOver = new Image()
RLHomeOver.src = "/images/nav_home-over.gif"
RLHome = new Image()
RLHome.src = "/images/nav_home.gif"
RLAboutUsOver = new Image()
RLAboutUsOver.src = "/images/nav_about_us-over.gif"
RLAboutUs = new Image()
RLAboutUs.src = "/images/nav_about_us.gif"
RLWhatsNewOver = new Image()
RLWhatsNewOver.src = "/images/nav_whats_new-over.gif"
RLWhatsNew = new Image()
RLWhatsNew.src = "/images/nav_whats_new.gif"
RLCollectionsOver = new Image()
RLCollectionsOver.src = "/images/nav_collections-over.gif"
RLCollections = new Image()
RLCollections.src = "/images/nav_collections.gif"
RLStockistsOver = new Image()
RLStockistsOver.src = "/images/nav_stockists-over.gif"
RLStockists = new Image()
RLStockists.src = "/images/nav_stockists.gif"
RLPressOver = new Image()
RLPressOver.src = "/images/nav_press-over.gif"
RLPress = new Image()
RLPress.src = "/images/nav_press.gif"
RLInfoOver = new Image()
RLInfoOver.src = "/images/nav_info-over.gif"
RLInfo = new Image()
RLInfo.src = "/images/nav_info.gif"
RLContactOver = new Image()
RLContactOver.src = "/images/nav_contact_us-over.gif"
RLContact = new Image()
RLContact.src = "/images/nav_contact_us.gif"
RLGivingOver = new Image()
RLGivingOver.src = "/images/nav_giving-over.gif"
RLGiving = new Image()
RLGiving.src = "/images/nav_giving.gif"
RLShopOver = new Image()
RLShopOver.src = "/images/nav_shop-over.gif"
RLShop = new Image()
RLShop.src = "/images/nav_shop.gif"

function makeArray(n){
    this.length = n;
    for (i=1;i<=n;i++){
        this[i]=0;
    }
    return this;
}

function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.bgColor = clrIn; 
	} 
} 
function mClk(src){ 
	if(event.srcElement.tagName=='TD')
		src.children.tags('A')[0].click();
}

function makeArray(n){
    this.length = n;
    for (i=1;i<=n;i++){
        this[i]=0;
    }
    return this;
}

function PopMeUp(url, name, w, h, perc) {
 		var winX = (screen.availWidth - w)*perc*.01;
  		var winY = (screen.availHeight - h)*perc*.01;

  		popupWin = window.open(url, name,'width=' + w + ',height=' + h + ',left=' + winX + ',top=' + winY);
	}

function init(x,y) {

targetWidth = screen.availWidth/2-(x/2);
//alert(targetWidth);
targetHeight = screen.availHeight/2-(y/2);
//alert(targetHeight);
windowWidth = screen.availWidth/2-(document.body.clientWidth/2);
//alert(windowWidth);
windowHeight = screen.availHeight/2-(document.body.clientHeight/2);
//alert(windowHeight);
windowWidth=x;
windowHeight=y;
widthMod=5;
heightMod=5;
fullScreen=false;
TB_animateWindow(targetWidth,targetHeight,windowWidth,windowHeight,windowWidth,windowHeight,widthMod,heightMod,fullScreen);
}

function TB_animateWindow(targetWidth,targetHeight,windowWidth,windowHeight,windowWidth,windowHeight,widthMod,heightMod,fullScreen) {
top.window.moveTo( targetWidth,targetHeight );
top.window.resizeTo( windowWidth,windowHeight );
//if ( windowWidth < targetWidth || windowHeight < targetHeight || windowWidth > targetWidth || windowHeight > targetHeight ) {
//setTimeout( 'TB_animateWindow(' +  targetWidth + ', ' + targetHeight + ', ' + windowWidth + ', ' + windowHeight + ', ' + windowWidth + ', ' + windowHeight + ', ' + widthMod + ', ' + heightMod + ', ' + fullScreen + ');', 10 );
//}
}

function openwin(page){
part1="http://www."
window.location.href = part1 + page;
}

// -->