function adjustCount(obj, tgt, size) { count = obj.value.length if(count > size) { alert("Sorry, you have reached the maximum length for this field.") obj.value = obj.value.substr(0,size) } tgt.value = size - count } function confirmSubscription(target) { // if(confirm("Use of this feature requires a Client Services Subscription. To read about this service or signup, choose Ok. Otherwise, choose Cancel")) // { location.href = "/clientHome/subscription_join.asp?tgt=" + target // } // return false } function confirmSubscriptionPopup(target) { opener.location.href = "/clientHome/subscription_join.asp?tgt=" + target self.close(); } function swapImg(imgField,newImg) { if (document.images) document[imgField].src = eval(newImg + ".src"); } // Array of month Names var monthNames = new Array( "January","February","March","April","May","June","July","August","September","October","November","December"); var now = new Date(); function showFaq() { var faqWin = window.open("/faq/default.asp","","width=500,height=400,scrollbars,resizable") } function howItWorks() { window.open("/vendorHome/how_mir_works.asp","","width=500,height=350,scrollbars,resizable,top=10,left=10,screenX=10,screenY=10") } function avgProps() { window.open("/vendorHome/process_info.asp","","width=500,height=350,scrollbars,resizable,top=10,left=10,screenX=10,screenY=10") } function openServiceFee() { var feewin = window.open("/vendorJob/service_fee.asp","feewin","width=350,height=225,scrollbars=0"); } function OpenServiceFeePopup() { var feewin = window.open("/vendorJob/service_fee_popup.asp","feewin","width=500,height=400,scrollbars=0,resizable"); }