﻿///////////////////////////BLUE NAVIGATION///////////////////////////
//////////////////////////++++++++++++++++///////////////////////////
//////////////////////////++++++++++++++++///////////////////////////

//Text for blue ober navigation
function ChangeOberBlueImage(obj_id, mode, font, TextOber) {

    var obj = document.getElementById(obj_id);

    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=00659c&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=FFFFFF&bcolor=transparent&size=12px";
    }

}


//Text for blue vert navigation
function ChangeVertBlueImage(obj_id, mode, font, TextVert) {
    
    var obj = document.getElementById(obj_id);
    
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=00659c&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=FFFFFF&bcolor=transparent&size=14px";
    }
}


//Text for blue horiz navigation
function ChangeHorizBlueImage(obj, mode, font, TextHoriz) {
    
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextHoriz + "&height=auto&color=FFFFFF&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextHoriz + "&height=auto&color=00659c&bcolor=transparent&size=14px";
    }
}


//Text for blue horiz navigation
function ChangeSubBlueImage(obj_id, mode, font, TextSub)  {

    var obj = document.getElementById(obj_id);
    
    if (mode=="on")
    {
         obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextSub + "&height=auto&color=FFFFFF&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextSub + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
}


//change background image on ober navigation.
$(function(){
	
    $("a.ober-blue-navOff").mouseover(function(){
	    $(this).removeClass().addClass("ober-blue-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("ober-blue-navOff");		
    });
	
});


//change background image on vert navigation.
$(function(){
	
    $("a.vert-blue-navOff").mouseover(function(){
	    $(this).removeClass().addClass("vert-blue-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("vert-blue-navOff");		
    });
	
});


//change background image on horiz navigation.
$(function(){
	
    $("a.horiz-blue-navOff").mouseover(function(){
	    $(this).removeClass().addClass("horiz-blue-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("horiz-blue-navOff");		
    });
	
});


//change background image on sub navigation.
$(function(){
	
    $("a.sub-blue-navOff").mouseover(function(){
	    $(this).removeClass().addClass("sub-blue-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("sub-blue-navOff");		
    });
	
});
///////////////////////////+++++++++++++++///////////////////////////
///////////////////////////+++++++++++++++///////////////////////////
///////////////////////////BLUE NAVIGATION///////////////////////////




///////////////////////////YELLOW NAVIGATION///////////////////////////
///////////////////////////+++++++++++++++++///////////////////////////
///////////////////////////+++++++++++++++++///////////////////////////



//Text for yellow ober navigation
function ChangeOberYellowHamamImage(obj_id, mode, font, TextOber) {

    var obj = document.getElementById(obj_id);
    
   if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=ffffff&bcolor=transparent&size=12px";
    }
}

//Text for yellow ober navigation
function ChangeOberYellowImage(obj_id, mode, font, TextOber) {

    var obj = document.getElementById(obj_id);
    
    if (mode == "on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
}


//Text for yellow vert navigation
function ChangeVertYellowImage(obj_id, mode, font, TextVert) {

    var obj = document.getElementById(obj_id);
    
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=f29400&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=000000&bcolor=transparent&size=14px";
    }
}


//Text for yellow horiz navigation
function ChangeHorizYellowImage(obj, mode, font, TextHoriz) {
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextHoriz + "&height=auto&color=FFFFFF&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextHoriz + "&height=auto&color=f29400&bcolor=transparent&size=14px";
    }
}


//Text for yellow horiz navigation
function ChangeSubYellowImage(obj, mode, font, TextSub)  {
    if (mode=="on")
    {
         obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextSub + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextSub + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
}

//change background image on ober navigation.
$(function(){
	
    $("a.ober-yellow-navOff").mouseover(function(){
	    $(this).removeClass().addClass("ober-yellow-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("ober-yellow-navOff");		
    });
	
});


//change background image on vert navigation.
$(function(){
	
    $("a.vert-yellow-navOff").mouseover(function(){
	    $(this).removeClass().addClass("vert-yellow-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("vert-yellow-navOff");		
    });
	
});

//change background image on ober navigation.
$(function() {

    $("a.ober-yellowhamam-navOff").mouseover(function() {
        $(this).removeClass().addClass("ober-yellowhamam-navOn");

    }).mouseout(function() {
        $(this).removeClass().addClass("ober-yellowhamam-navOff");
    });

});


//change background image on vert navigation.
$(function() {

    $("a.vert-yellowhamam-navOff").mouseover(function() {
        $(this).removeClass().addClass("vert-yellowhamam-navOn");

    }).mouseout(function() {
        $(this).removeClass().addClass("vert-yellowhamam-navOff");
    });

});

//change background image on horiz navigation.
$(function(){
	
    $("a.horiz-yellow-navOff").mouseover(function(){
	    $(this).removeClass().addClass("horiz-yellow-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("horiz-yellow-navOff");		
    });
	
});


//change background image on sub navigation.
$(function(){
	
    $("a.sub-yellow-navOff").mouseover(function(){
	    $(this).removeClass().addClass("sub-yellow-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("sub-yellow-navOff");		
    });
	
});
///////////////////////////+++++++++++++++++///////////////////////////
///////////////////////////+++++++++++++++++///////////////////////////
///////////////////////////YELLOW NAVIGATION///////////////////////////



///////////////////////////GREEN NAVIGATION///////////////////////////
///////////////////////////++++++++++++++++///////////////////////////
///////////////////////////++++++++++++++++///////////////////////////
//Text for blue ober navigation
function ChangeOberGreenImage(obj_id, mode, font, TextOber) {

    var obj = document.getElementById(obj_id);
    
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=007c30&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=FFFFFF&bcolor=transparent&size=12px";
    }
}


//Text for blue vert navigation
function ChangeVertGreenImage(obj_id, mode, font, TextVert) {

    var obj = document.getElementById(obj_id);
    
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=007c30&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=FFFFFF&bcolor=transparent&size=14px";
    }
}


//Text for blue horiz navigation
function ChangeHorizGreenImage(obj, mode, font, TextHoriz) {
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextHoriz + "&height=auto&color=FFFFFF&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextHoriz + "&height=auto&color=007c30&bcolor=transparent&size=14px";
    }
}


//Text for blue horiz navigation
function ChangeSubGreenImage(obj, mode, font, TextSub)  {
    if (mode=="on")
    {
         obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextSub + "&height=auto&color=FFFFFF&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextSub + "&height=auto&color=000000&bcolor=transparent&size=12px";
    }
}


//change background image on ober navigation.
$(function(){
	
    $("a.ober-green-navOff").mouseover(function(){
	    $(this).removeClass().addClass("ober-green-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("ober-green-navOff");		
    });
	
});


//change background image on vert navigation.
$(function(){
	
    $("a.vert-green-navOff").mouseover(function(){
	    $(this).removeClass().addClass("vert-green-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("vert-green-navOff");		
    });
	
});


//change background image on horiz navigation.
$(function(){
	
    $("a.horiz-green-navOff").mouseover(function(){
	    $(this).removeClass().addClass("horiz-green-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("horiz-green-navOff");		
    });
	
});


//change background image on sub navigation.
$(function(){
	
    $("a.sub-green-navOff").mouseover(function(){
	    $(this).removeClass().addClass("sub-green-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("sub-green-navOff");		
    });
	
});///////////////////////////++++++++++++++++///////////////////////////
///////////////////////////++++++++++++++++///////////////////////////
///////////////////////////GREEN NAVIGATION///////////////////////////


///////////////////////////PURPLE NAVIGATION///////////////////////////
///////////////////////////+++++++++++++++++///////////////////////////
///////////////////////////+++++++++++++++++///////////////////////////

//Text for blue ober navigation
function ChangeOberPurpleImage(obj, mode, font, TextOber) {
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=007c30&bcolor=transparent&size=12px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextOber + "&height=auto&color=FFFFFF&bcolor=transparent&size=12px";
    }
}


//Text for yellow vert navigation
function ChangeVertPurpleImage(obj_id, mode, font, TextVert) {

    var obj = document.getElementById(obj_id);
    
    if (mode=="on")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=293477&bcolor=transparent&size=14px";
    }
    if (mode=="off")
    {
        obj.src = "/common/dynamicimage/fontwriter.ashx?font=" + font + "&text=" + TextVert + "&height=auto&color=FFFFFF&bcolor=transparent&size=14px";
    }
}

//change background image on ober navigation.
$(function(){
	
    $("a.ober-purple-navOff").mouseover(function(){
	    $(this).removeClass().addClass("ober-purple-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("ober-purple-navOff");		
    });
	
});

//change background image on vert navigation.
$(function(){
	
    $("a.vert-purple-navOff").mouseover(function(){
	    $(this).removeClass().addClass("vert-purple-navOn");
	
    }).mouseout(function(){
	    $(this).removeClass().addClass("vert-purple-navOff");		
    });
	
});

///////////////////////////+++++++++++++++++///////////////////////////
///////////////////////////+++++++++++++++++///////////////////////////
///////////////////////////PURPLE NAVIGATION///////////////////////////

