function loadOptions(This,submit_options)
{
if(This && This==-1)
{ new Ajax.Updater('filter_options', 'http://www.womensuitsmanager.com/list_options_new.aspx?categoryId=-1', {method: 'get',onLoading: function(request){showLoadingImages();}, onComplete: function(request){ hideLoadingImages();} });
new Ajax.Updater('pnlContent', 'http://www.womensuitsmanager.com/ProductList_new.aspx?categoryId=-1', {method: 'get',onLoading:function(){$('product_loader').show();$('product_loader1').show()},onComplete:function(request){$('product_loader').hide();$('product_loader1').hide()} });
} if (typeof Ajax == 'undefined')
alert('Wait a while and try again!!');
else
{
if(This !=null)
{
new Ajax.Updater('filter_options', 'http://www.womensuitsmanager.com/list_options_new.aspx?categoryId='+This, {method: 'get',onLoading: function(request){showLoadingImages();$j('html *').css({cursor:'progress'});}, onComplete: function(request){ hideLoadingImages();$j('html *').css({cursor:'auto'});}});
new Ajax.Updater('pnlContent','http://www.womensuitsmanager.com/ProductList_new.aspx?categoryId='+This, {method: 'get',onLoading:function(){$('product_loader').show();$('product_loader1').show();$j('html *').css({cursor:'progress'});},onComplete:function(request){$('product_loader').hide();$('product_loader1').hide();$j('html *').css({cursor:'auto'});} });
}
else if(submit_options!=null)
{
var querystring='?q';
querystring+=(submit_options.catId)?'&catId='+submit_options.catId:'';
querystring+=(submit_options.size)?'&size='+submit_options.size:'';
querystring+=(submit_options.color)?'&color='+submit_options.color:'';
querystring+=(submit_options.price)?'&price='+submit_options.price:'';
querystring+=(submit_options.fabric)?'&fabric='+submit_options.fabric:'';
querystring+=(submit_options.brand)?'&brand='+submit_options.brand:'';
querystring+=(submit_options.collection)?'&collection='+submit_options.collection:'';
querystring+=(submit_options.gender)?'&gender='+submit_options.gender:'';
querystring+=(submit_options.page)?'&page='+submit_options.page:'';
new Ajax.Updater('filter_options', 'http://www.womensuitsmanager.com/list_options_new.aspx'+querystring, {method: 'get',onLoading: function(request){if(request.readyState==4)return;showLoadingImages();}, onComplete: function(request){ hideLoadingImages();} });
new Ajax.Updater('pnlContent', 'http://www.womensuitsmanager.com/ProductList_new.aspx'+querystring, {method: 'get',onLoading:function(request){if(request.readyState==4)return;$('product_loader').show();$('product_loader1').show();$j('body').removeClass('wait').addClass('wait');},onComplete:function(request){$('product_loader').hide();$('product_loader1').hide();hideLoadingImages();$j('body').removeClass('wait');} });
}
}
}
function showLoadingImages()
{
if($('cat_loader'))$('cat_loader').show();
if($('size_loader'))$('size_loader').show();
if($('color_loader'))$('color_loader').show();
if($('fabrics_loader'))$('fabrics_loader').show();
if($('price_loader'))$('price_loader').show();
if($('brand_loader'))$('brand_loader').show();
}
function hideLoadingImages()
{
if($('cat_loader'))$('cat_loader').hide();
if($('size_loader'))$('size_loader').hide();
if($('color_loader'))$('color_loader').hide();
if($('fabrics_loader'))$('fabrics_loader').hide();
if($('price_loader'))$('price_loader').hide();
if($('brand_loader'))$('brand_loader').hide();
}
function ArrowSrc(arrowImage)
{
var rightArrowSrc='http://womensuitsmanager.com/inventory_images/16-arrow-right.png';
var downArrowSrc='http://womensuitsmanager.com/inventory_images/16-arrow-down.png';
if(arrowImage.src==rightArrowSrc)
{
arrowImage.src=downArrowSrc;
}
else
{
arrowImage.src=rightArrowSrc;
}
}
document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write('
');
document.write('
');
document.write('
');
document.write('');document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' REFINE by gender ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write('')
document.write('Women')
document.write('Men')
document.write('Boys')
document.write(' | ');
document.write('
');
document.write(' ');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write('
REFINE by category 
');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' REFINE by size ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write(' To see all Sizes please select a category first');
document.write(' | ');
document.write('
');
document.write(' ');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' REFINE by color ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write(' To see all Colors please select a category first');
document.write(' | ');
document.write('
');
document.write(' ');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' REFINE by collection ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write(' To see all collections please select a category first');
document.write(' | ');
document.write('
');
document.write(' ');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' REFINE by fabrics ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write(' To see all Fabrics please select a category first');
document.write(' | ');
document.write('
');
document.write(' ');
document.write('
');
document.write('
');
document.write('
');
document.write('
');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' REFINE by price ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write(' Under $25');
document.write(' $25 - $49')
document.write(' $50 - $99')
document.write(' $100 - $200')
document.write(' $200 - $499')
document.write(' $500 - $999')
document.write(' $1000 - above')
document.write(' | ');
document.write('
');
document.write(' ');
document.write('
');
document.write('
');
document.write('
');
document.write('
');