if(navigator.userAgent.match(/iphone/i))
    {        
        //Iphone            
        location.replace("http://m.vwoman.com/?IPHONE");  
    }
    else if(navigator.userAgent.match(/ipod/i))
    {        
        //Ipod            
        location.replace("http://m.vwoman.com/?IPOD");   
    }
    else if(navigator.userAgent.match(/android/i))
    {        
        //Android            
        location.replace("http://m.vwoman.com/?ANDROID");   
    }
    else if(navigator.userAgent.match(/sgh/i))
    {        
        //Samsung            
        location.replace("http://m.vwoman.com/?SAMSUNG");   
    }
    else if(navigator.userAgent.match(/sonyericsson/i))
    {        
        //Sony Ericsson            
        location.replace("http://m.vwoman.com/?SONYERICSSON");   
    }
    else if(navigator.userAgent.match(/psp/i))
    {        
        //Playstation Portable            
        location.replace("http://m.vwoman.com/?PSP");   
    }
    else if(navigator.userAgent.match(/mot/i))
    {        
        //Motorolla            
        location.replace("http://m.vwoman.com/?MOTOROLLA");   
    }
    else if(navigator.userAgent.match(/htc/i))
    {        
        //HTC            
        location.replace("http://m.vwoman.com/?HTC");   
    }
     else if(navigator.userAgent.match(/lg/i))
    {        
        //LG            
        location.replace("http://m.vwoman.com/?LG");   
    }
    
    else if(navigator.userAgent.match(/opera mini/i))
    {        
        //Opera mini            
        location.replace("http://m.vwoman.com/?OPERAMINI");   
    }
    else if(navigator.userAgent.match(/blackberry/i))
    {        
        //BlackBerry            
        location.replace("http://m.vwoman.com/?BLACKBERRY");   
    }
    else if(navigator.userAgent.match(/nokia/i))
    {        
        //Nokia            
        location.replace("http://m.vwoman.com/?NOKIA");   
    }
    else if(navigator.userAgent.match(/palm/i))
    {        
        //PALM            
        location.replace("http://m.vwoman.com/?PALM");   
    }
    else if(navigator.userAgent.match(/ipaq/i))
    {        
        //iPAQ            
        location.replace("http://m.vwoman.com/?IPAW");   
    }
    
    else if(navigator.userAgent.match(/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|pda|treo)/i))
    {        
        //Other Device            
        location.replace("http://m.vwoman.com/?OTHER");   
    }    
