<script>
var strSubUrl=parent.document.URL.toLowerCase().split("type=");
var strTypeName=strSubUrl[1].substring(0,strSubUrl[1].indexOf('&'));
var strHref=document.getElementById("diidCustomizeButton").href;
if(strTypeName=="" || strTypeName=="undefind" || strTypeName==null)
{
var strFullUrl=strHref+"&type="+strSubUrl[1];
}
else
var strFullUrl=strHref+"&type="+strTypeName;
alert(strFullUrl);
document.getElementById("diidCustomizeButton").href=strFullUrl;
document.getElementById("diidCustomizeButton").target="parent";
</script>
var strSubUrl=parent.document.URL.toLowerCase().split("type=");
var strTypeName=strSubUrl[1].substring(0,strSubUrl[1].indexOf('&'));
var strHref=document.getElementById("diidCustomizeButton").href;
if(strTypeName=="" || strTypeName=="undefind" || strTypeName==null)
{
var strFullUrl=strHref+"&type="+strSubUrl[1];
}
else
var strFullUrl=strHref+"&type="+strTypeName;
alert(strFullUrl);
document.getElementById("diidCustomizeButton").href=strFullUrl;
document.getElementById("diidCustomizeButton").target="parent";
</script>