﻿var hotspotLinks

function pageInit(){
 
    // If there are Hotspots then set up the actions for the rollovers etc.
    /*
    if ($('hotspotLinks')) {
        hotspotLinks = $('hotspotLinks').getElementsByTagName("a");
        
        if (hotspotLinks.length >0){
        
            for (var i=0; i < hotspotLinks.length; i++) {
                if(hotspotLinks[i].rel.match("hotspot")){
                
                Effect.Fade(hotspotLinks[i].id, { duration: 0.2,from:1.0, to:0.6})
                
                
                    hotspotLinks[i].onmouseover = function() {
                    
                        // Fade in the selected block
                        Effect.Appear(this.id, { duration: 0.2,from:0.6, to:1.0})
                    }
                    hotspotLinks[i].onmouseout = function() {
                        // Fade out the selected block
                        Effect.Fade(this.id, { duration: 0.2,from:1.0, to:0.6})
                    }
                }
            }
        }
    }
    */
}

document.observe("dom:loaded",function() {pageInit();});
