
function wjTemplateAppPopupLogin(templateId,loginInit){

  // Center the popup window
  var winwidth      = 924;
  var winheight     = 668;
  var desktopHeight = screen.availHeight;
  var desktopWidth  = screen.availWidth;
  var top   = (desktopHeight - winheight) / 2;
  var left  = (desktopWidth - winwidth) / 2;

  var loginArg = "";
  if (loginInit == 1)
  {
    loginArg = "&LOGIN=true";
  }
  var urlPrefix = "http://app.wilsonjones.com/wjtemplatesApp/";
  var winurl    = urlPrefix + "frames.taf?TEMPLATE_ID=" + templateId + loginArg;

  var winname   = "wjtTemplateApp";
  var winopt    = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,resizable=0,width="+winwidth+",height="+winheight+",left="+left+",top="+top;
    if ((screen.width<1024) || (screen.height<768)){

                        window.open("/html/4691.html","windowName","scrollbars=no,resizable=no,width=450,height=280");

            }else{

            var newwin  = window.open(winurl,winname,winopt);

            }
}

	addmenu(menu=["products",,,155,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"binders&nbsp;&nbsp;","show-menu=binders","/products/binders.aspx",,0
	,"indexes&nbsp;&nbsp;","show-menu=indexes","/products/indexes.aspx",,0
	,"report&nbsp;covers&nbsp;&nbsp;","show-menu=rptcvers","/products/covers.aspx",,0
	,"storage&nbsp;boxes&nbsp;&nbsp;","show-menu=storage","/products/boxes.aspx",,0
	,"filing&nbsp;&nbsp;","/products/sub_cats.aspx?i=40",,,0
	,"labels&nbsp;&nbsp;","show-menu=labels","/products/labels.aspx",,0
	,"notebooks&nbsp;&nbsp;","/products/sub_cats.aspx?i=42",,,0
	,"featured&nbsp;products&nbsp;&nbsp;","/products/featured.aspx",,,0
	,"fashion&nbsp;products&nbsp;&nbsp;","/products/sub_cats.aspx?i=64",,,0
	])

	addmenu(menu=["templates",,,159,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"how it works&nbsp;&nbsp;","/templates/default.aspx","",,0
	,"index templates&nbsp;&nbsp;","/templates/indexes.aspx","",,0
	,"binder & spine templates&nbsp;","/templates/binders.aspx","",,0
	,"notebook templates&nbsp;&nbsp;","/templates/notebooks.aspx","",,0
	,"binding cover templates&nbsp;&nbsp;","/templates/binding_covers.aspx",,,0
	,"capturecard templates&nbsp;&nbsp;","/templates/capturecards.aspx",,,0
	,"my online template account &nbsp;(sign in)&nbsp;&nbsp;","javascript:wjTemplateAppPopupLogin(\"\",1)",,,0
	,"requirements (online templates)&nbsp;&nbsp;","javascript:MM_openBrWindow(\"/html/4646.html\",\"\",\"scrollbars=no,resizable=no,width=560,height=470\")",,,0
	,"templates faqs&nbsp;&nbsp;","/templates/faq.aspx",,,0

	])



		addmenu(menu=["binders",
		75,,116,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"presentation","/products/sub_cats.aspx?i=43",,,0
		,"organization","/products/sub_cats.aspx?i=44",,,0
		,"storage","/products/sub_cats.aspx?i=45",,,0
		,"find right binder","javascript:MM_openBrWindow(\"/html/4085.html\",\"\",\"scrollbars=yes,resizable=no,width=770,height=470\")",,,0

		])

		addmenu(menu=["indexes",
		110,,116,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"presentation","/products/sub_cats.aspx?i=46",,,0
		,"organization","/products/sub_cats.aspx?i=48",,,0
		,"storage","/products/sub_cats.aspx?i=47",,,0
		])

		addmenu(menu=["rptcvers",
		149,,116,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"presentation","/products/sub_cats.aspx?i=49",,,0
		,"storage","/products/sub_cats.aspx?i=50",,,0
		])

		addmenu(menu=["storage",
		174,,116,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"organization","/products/sub_cats.aspx?i=51",,,0
		,"storage","/products/sub_cats.aspx?i=52",,,0
		])


		addmenu(menu=["labels",
		145,,200,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"all&nbsp;purpose&nbsp;/&nbsp;address&nbsp;labels","/products/sub_cats.aspx?i=53",,,0
		,"card&nbsp;products","/products/sub_cats.aspx?i=54",,,0
		,"color&nbsp;coding&nbsp;labels","/products/sub_cats.aspx?i=55",,,0
		,"media&nbsp;labels","/products/sub_cats.aspx?i=56",,,0
		,"file&nbsp;folder&nbsp;labels","/products/sub_cats.aspx?i=57",,,0
		,"name&nbsp;badges","/products/sub_cats.aspx?i=58",,,0
		,"specialty&nbsp;labels","/products/sub_cats.aspx?i=59",,,0
		,"seals","/products/sub_cats.aspx?i=60",,,0
		,"maco&nbsp;tags","/products/sub_cats.aspx?i=61",,,0
		])


	addmenu(menu=["infoCntr",,,155,1,,style2,0,"left",effect,,,,,,,,,,,,
  ,"wj&nbsp;university","/info/wjuniversity.aspx",,,0
	,"helpful&nbsp;articles","/info/helpful_articles.aspx",,,0
	,"wj&nbsp;affiliated&nbsp;sites","/info/affiliated_sites.aspx",,,0
	,"faqs","http://wilsonjones.custhelp.com",,,0
	])


	addmenu(menu=["insideWJ",,,155,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"company&nbsp;info","/inside/default.aspx",,,0
	,"talking&nbsp;with&nbsp;the&nbsp;boss john&nbsp;stasiw","/html/2519.html",,,0
	,"meet&nbsp;our&nbsp;head&nbsp;honchos","/html/3709.html",,,0
	,"the&nbsp;newsroom","/html/3391.html",,,0
	,"work&nbsp;at&nbsp;wilson&nbsp;jones","javascript:MM_openBrWindow(\"http://www.accobrands.com/html/1841.html\",\"\",\"scrollbars=yes,resizable=no,width=770,height=470\")",,,0

	])


if (navigator.appVersion.indexOf("Mac")==-1) {
   dumpmenus();
}


