/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


var irTune = irTune || {};
irTune.roundCorner = function(classN, pxNum)
{
    var moz = $.browser.mozilla ;
    var webkit = $.browser.safari ;
    var mie = $.browser.msie ;
    if(false)
    {
        $(classN).corner(pxNum + "px");
    }else{
        $(classN).css("-moz-border-radius", pxNum + "px");
        $(classN).css("-khtml-border-radius", pxNum + "px");
        $(classN).css("-webkit-border-radius", pxNum + "px");
        $(classN).css("border-radius", pxNum + "px");        
    }   
}


$(function(){
    irTune.roundCorner(".center-box", 15);
    $(".pageTabs").hover(function(){
        $(this).animate({top:'17px'},{queue:false,duration:200})
    },
    function(){
        $(this).animate({top:'25px'},{queue:false,duration:200})
    });
    $(".pageTabs:first").click(function() {
        window.location = "/";
    });
    $(".pageTabs:eq(1)").click(function() {
        window.location = "/about";
    });
    $(".pageTabs:eq(2)").click(function() {
        window.location = "/contact-us";
    });

    $(".posts_link a:eq(1)").css({
        position : 'relative',
        left : '230px'
    });
    $(".posts_link a:eq(0)").css({
        position : 'relative',
        left : '-100px'
    });
});
