function showsizechart()
{
    
	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:500, height:650 });
        g_pop.setContent("title","Size Chart");
        g_pop.setContent("contentUrl","http://www.peridress.com/shop/popup/sizechart.html");
        g_pop.build();
        g_pop.show();
    
    return false;
}

function shownewcolorchart()
{
    
	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:510, height:650 });
        g_pop.setContent("title","Color Chart");
        g_pop.setContent("contentUrl","http://www.perimart.com/shop/popup/colorchart.html");
        g_pop.build();
        g_pop.show();
    
    return false;
}

function showcolorsample()
{
    
	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:530, height:600 });
        g_pop.setContent("title","Color Chart");
        g_pop.setContent("contentUrl","http://www.peridress.com/shop/popup/colorsample.html");
        g_pop.build();
        g_pop.show();
    
    return false;
}

function showcolorsample2(obj,objI)

{

    

	    g_pop=new Popup2({ contentType:1, isReloadOnClose:false, width:515, height:550 });

        g_pop.setContent("title","Color Chart");

		var defHash = "";
		if(obj.value.length>0 && objI.value.length>0){
			defHash="#"+obj.value+"|"+objI.value;
		}
		g_pop.setContent("contentUrl","http://www.peridress.co.uk/skin1/colorsample2.html"+defHash);
		g_pop.setContent("callBack",function(tmp){
			if(typeof(tmp) != 'undefined' && tmp != null && tmp.length>0){
				obj.value=tmp.replace('#','').split('|')[0];
				objI.value=tmp.replace('#','').split('|')[1];
			}
		});

        g_pop.build();

        g_pop.show();

    

    return false;

}


function showmenshirt()

{

    

	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:620, height:188 });

        g_pop.setContent("title","Men's Shirt Size Chart");

        g_pop.setContent("contentUrl","http://shop.periwing.com/popup/menweddingshirt.html");

        g_pop.build();

        g_pop.show();

    

    return false;

}

function showmenbusinessuit()

{

    

	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:620, height:188 });

        g_pop.setContent("title","Men's Suit Size Chart");

        g_pop.setContent("contentUrl","http://shop.periwing.com/popup/menbusinesssuit.html");

        g_pop.build();

        g_pop.show();

    

    return false;

}

function showimportantnotice()

{

    

	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:500, height:381 });

        g_pop.setContent("title","Important Notice");

        g_pop.setContent("contentUrl","http://shop.periwing.com/popup/importmantnotice1.html");

        g_pop.build();

        g_pop.show();

    

    return false;

}



function showperiwingwomen()

{

    

	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:520, height:320 });

        g_pop.setContent("title","Chinese Women Clothes Size Chart");

        g_pop.setContent("contentUrl","http://shop.periwing.com/popup/periwingwomen.html");

        g_pop.build();

        g_pop.show();

    

    return false;

}

function showHollowToHem()

{

    

	    g_pop=new Popup({ contentType:1, isReloadOnClose:false, width:500, height:465 });

        g_pop.setContent("title","What's the shoulder to hem?");

        g_pop.setContent("contentUrl","http://www.peridress.com/shop/popup/HollowToHem.htm");

        g_pop.build();

        g_pop.show();

    

    return false;

}