$(document).ready(function(){ $(saveProgressBtn).hide(); var UserName = (CallSINIMethod("GetValue", ["SystemProperty", "LoggedOnUserName", null])); if(UserName.includes("Anonymous") == true){ alert("You are not logged in!\nPlease log in before adding items to cart!"); $(addToCartBtn).hide(); } //RESIZES THE MODAL $('.dialogContent_ccModal).css('width','835px'); $('.dialogContent_ccModal).css('height','690px'); //RESIZES THE CC FORM INSIDE THE MODAL $('. dbframe).css('width','800px'); $('. dbframe).css(‘height’,'650px'); $('. dbframe).css('margin-top','15px'); $('. dbframe).css('margin-left','15px'); })