var SCR_CallBackId;
var SCR_CallBackArgs;
var $jq = jQuery.noConflict();
$jq(document).ready(function() { 
    if ($jq(".item").length > 2) {
        $jq("#IFAScroller").everyTime(8000, function() {
            $jq("#items").animate({ left: '-=238' }, 1000, function() {
                var firstAdvisor = $jq(".item")[0];
                $jq(firstAdvisor).parent().append(firstAdvisor);
                $jq("#items").css({ left: '' });
            });
        });
    }
});
function SCR_ConfirmAllocation(id, name, args) {
    SCR_CallBackId = id;
    SCR_CallBackArgs = args;
    __ShowMessage("Request Call Back", "Please confirm that you want " + name + " to contact you about your enquiry.", 1, null, "Continue", "Cancel", null, SCR_PerformAllocation, null, __RequestPath + "/DesktopModules/Leads/XSLT/Customer/ContactAdvisorMessageDialog.xsl");
}
function SCR_PerformAllocation() {
    __doPostBack(SCR_CallBackId, SCR_CallBackArgs);
}
