var $j = jQuery.noConflict();

var phoneNumberFormat = "<h4>PHONE 0</h4><h5>1</h5>";
var phoneCountry = false;
var phoneNumberSwitch = function() {
    html = "";
    if (phoneCountry) {
        html = phoneNumberFormat.replace(/0/, "AUS").replace(/1/, "131 262");
    } else {
        html = phoneNumberFormat.replace(/0/, "NZ").replace(/1/, "0800 111 333");
    }
    $j(".phone-number").html(html);
    
    Cufon.replace('.phone-number h4');
    Cufon.replace('.phone-number h5');    
    
    phoneCountry = !phoneCountry;
};

$j(document).ready(function() {
    setInterval(phoneNumberSwitch, 3000);
});

