
    function RaRoundShadow(strType)
    {
        var shadowedBorder    = RUZEE.ShadedBorder.create({ corner:8, shadow:16 });
        shadowedBorder.render(strType);        
    }

    function RaRoundStd(iType)
    {
        var transBorder = RUZEE.ShadedBorder.create({ corner:15, border:0 ,border:3});  
        transBorder.render(iType);        
    }

    function RaRoundTrans(iType)
    {
        var transBorder = RUZEE.ShadedBorder.create({ corner:15, border:8, borderOpacity:0.4 });  
        transBorder.render(iType);        
    }
    
    function RaRoundSplit(iFrame,iHType,iBType)
    {      
        var shadowedBorder    = RUZEE.ShadedBorder.create({ corner:10, shadow:1 });
                
//        var splitBorderTop    = RUZEE.ShadedBorder.create({ corner:10, edges:"tlr" });
//        var splitBorderBottom = RUZEE.ShadedBorder.create({ corner:10, edges:"blr" });
        
        var frmDiv=document.getElementById(iFrame);        
        frmDiv.style.padding='0px';
        
        //splitBorderBottom.render(iBType);  
//        splitBorderTop.render(iHType);    
          
          splitBorderBottom.render(iFrame);
          splitBorderTop.render(iFrame);     
          
        shadowedBorder.render(iFrame);
        //splitBorderBottom.render($(iFrame).getElementsByTagName('div')[0]);
        //splitBorderTop.render($(iFrame).getElementsByTagName('div')[1]);            
     
    }
    
    function RaRoundBorder(iType)
    {
        var linksBorder       = RUZEE.ShadedBorder.create({ corner:10, border:3 });
        linksBorder.render(iType);
    }

    function RaFlashLoader(strSwf,strDiv,strName,iMovWidth,iMovHeight,strLeftPicture,strRightText)
    {    
        var strMoviewidth=iMovWidth+"%";
        var so = new SWFObject(strSwf ,strName, strMoviewidth ,iMovHeight, "0", "#FFFFFF");
        so.addParam("wmode", "transparent");                
        if(strLeftPicture!="") so.addVariable("leftpic",strLeftPicture);
        if(strRightText!="") so.addVariable("righttext", strRightText);
        so.write(strDiv);
    }
    

    function RaFlashLoaderPx(strSwf,strDiv,strName,iMovWidth,iMovHeight,strLinkto,strRightText)
    {            
        var so = new SWFObject(strSwf ,strName, iMovWidth ,iMovHeight, "0", "#FFFFFF");
        so.addParam("wmode", "transparent");
        so.addParam("clicktag",strLinkto);
        if(strLinkto!="") so.addVariable("linkto",strLinkto);
        if(strRightText!="") so.addVariable("righttext", strRightText);
        so.write(strDiv);

    }    
