var Color = { "white":"#FFFFFF", "purple":"#67075b", "lightpuple":"#c895c2"}
var domain = (document.domain == "localhost" || document.domain == "192.168.140.50" || document.domain == "192.168.140.146") ? "localhost:8080/p2w" : "demo.cyberduck.net/p2w";
var arial = { src: 'http://' + domain + '/media/arial.swf',wmode: 'transparent' };
var frutiger = { src: 'http://' + domain + '/media/FrutigerNext.swf',wmode: 'transparent' };


if (jQuery.browser.msie) {
    if(parseInt(jQuery.browser.version)==6){
        iniSifr();
    }
}
// Next, activate sIFR:
function iniSifr(){

sIFR.activate(arial,frutiger);

sIFR.replace(arial, { selector: '.sifr', css: {																															// Gray Headings
      ".sIFR-root":    { 'color': Color.purple},							// =============
      ".white":         { 'color': Color.white},
      ".green":         { 'color': '#c4e295'},
      ".pink" :        { 'color': Color.lightpuple},
      "a:link":        { 'color': Color.puple, 'text-decoration': 'none' },														// Hosts styles for all gray headings
      "a:hover":       { 'color': Color.puple, 'text-decoration': 'underline' }},
    selectable: true,preventWrap: true });

sIFR.replace(frutiger, { selector: '.sifr1', css: {																															// Gray Headings
      ".sIFR-root":    { 'color': Color.purple},							// =============
      ".white":         { 'color': Color.white},
      ".pink" :        { 'color': Color.lightpuple},
      "a:link":        { 'color': Color.puple, 'text-decoration': 'none' },														// Hosts styles for all gray headings
      "a:hover":       { 'color': Color.puple, 'text-decoration': 'underline' }},
    selectable: false,preventWrap: false });

/*sIFR.replace(arial, { selector: '.vignettebutton .middle', css: {																															// Gray Headings
      ".sIFR-root":    { 'color': Color.white,'font-size':'14px','text-align':'center','cursor':'pointer'},							// =============
      "a:link":        { 'color': Color.white, 'text-decoration': 'none' },														// Hosts styles for all gray headings
      "a:hover":       { 'color': Color.white, 'text-decoration': 'none' }},
    selectable: true,preventWrap: false });*/


}

