//#### FLASH FUNCTIONS #### //v1.7 // Flash Player Version Detection // Detect Client Browser type // Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false; function ControlVersion() { var version; var axo; var e; // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry try { // version will be set for 7.X or greater players axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); version = axo.GetVariable("$version"); } catch (e) { } if (!version) { try { // version will be set for 6.X players only axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); // installed player is some revision of 6.0 // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29, // so we have to be careful. // default to the first public version version = "WIN 6,0,21,0"; // throws if AllowScripAccess does not exist (introduced in 6.0r47) axo.AllowScriptAccess = "always"; // safe to call for 6.0r47 or greater version = axo.GetVariable("$version"); } catch (e) { } } if (!version) { try { // version will be set for 4.X or 5.X player axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); version = axo.GetVariable("$version"); } catch (e) { } } if (!version) { try { // version will be set for 3.X player axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); version = "WIN 3,0,18,0"; } catch (e) { } } if (!version) { try { // version will be set for 2.X player axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); version = "WIN 2,0,0,11"; } catch (e) { version = -1; } } return version; } // JavaScript helper required to detect Flash Player PlugIn version information function GetSwfVer(){ // NS/Opera version >= 3 check for Flash plugin in plugin array var flashVer = -1; if (navigator.plugins != null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description; var descArray = flashDescription.split(" "); var tempArrayMajor = descArray[2].split("."); var versionMajor = tempArrayMajor[0]; var versionMinor = tempArrayMajor[1]; var versionRevision = descArray[3]; if (versionRevision == "") { versionRevision = descArray[4]; } if (versionRevision[0] == "d") { versionRevision = versionRevision.substring(1); } else if (versionRevision[0] == "r") { versionRevision = versionRevision.substring(1); if (versionRevision.indexOf("d") > 0) { versionRevision = versionRevision.substring(0, versionRevision.indexOf("d")); } } var flashVer = versionMajor + "." + versionMinor + "." + versionRevision; } } // MSN/WebTV 2.6 supports Flash 4 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4; // WebTV 2.5 supports Flash 3 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3; // older WebTV supports Flash 2 else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2; else if ( isIE && isWin && !isOpera ) { flashVer = ControlVersion(); } return flashVer; } function DetectFlash(reqVersion){ var versionStr = GetSwfVer(); if(versionStr == -1 ){ return false; } else{ if(isIE && isWin && !isOpera) { // Given "WIN 2,0,0,11" var tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"] var tempString = tempArray[1]; // "2,0,0,11" var versionArray = tempString.split(","); // ['2', '0', '0', '11'] } else { var versionArray = versionStr.split("."); } var version = versionArray[0]; //alert("versionStr: " + versionStr + " version: " + version); if(reqVersion <= parseFloat(version)) return true; } return false; } var hasRightVersion = DetectFlash(8); // Flash 8 req function Flash(width, height, flash, id, color, transparent){ this.width = width; this.height = height; this.flash = flash; this.id = id; this.color = color; this.transparent = transparent; this.parameters = ""; // functions this.addFlashVar = addFlashVar; this.writeFlash = writeFlash; } function addFlashVar(name, value){ if(this.parameters=="") this.parameters = name + "=" + value; else this.parameters += "&" + name + "=" + value; } function writeFlash(){ if(hasRightVersion){ if(navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length){ var mode = ""; if(this.transparent) mode = "wmode=\"transparent\""; else mode = "bgcolor=\"" + this.color + "\""; var strOut = '\n'; } else{ // IE var strOut = '\n' + '\n' + '\n' + '\n' + '\n' + '\n'; if(this.transparent) strOut += '\n'; else strOut += '\n'; strOut += '<\/object>\n'; } var obj = document.getElementById(this.id+"_alt"); if(obj) obj.style.display = "none"; document.write(strOut); } } //#### GENERAL FUNCTIONS #### function doPrint(){ if ((window.print) && (document.all)){ window.print(); //window.close(); } else if (window.print) { window.print(); } else if ((document.all) && !(navigator.userAgent.indexOf("Mac") != -1)) { var printWindowObject = ""; document.body.insertAdjacentHTML("BeforeEnd",printWindowObject); window.document.printWindowObject1.ExecWB(6,1); //ID=window.setTimeout("window.close();",100); } } function $(id){ return document.getElementById(id); } function openPopup(url,pwidth,pheight){ var posLeft = (parseInt(screen.width)/2) - (parseInt(pwidth)/2); var posTop = ((parseInt(screen.height)/2) - (parseInt(pheight)/2)) - 50; newwindow = window.open(url,null,'toolbar=0,menubar=0,location=0,directories=0,status=0,resizable=0,scrollbars=1,HEIGHT='+pheight+',WIDTH='+pwidth+',left='+posLeft+',top='+posTop); if (window.focus) newwindow.focus(); } function preload(imgObj,imgSrc){ if(document.images){ eval(imgObj+' = new Image()'); eval(imgObj+'.src = "'+imgSrc+'"'); } } var isIE6 = false; if(navigator.userAgent.indexOf("MSIE 6") != -1) isIE6 = true; function imgSwap(imgName, newImgSource){ if($(imgName)){ if(!isIE6){ eval("document.getElementById('" + imgName + "').src = " + newImgSource + ".src"); }else{ $(imgName).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + eval(newImgSource + ".src") + "', sizingMethod='image')"; } } } //#### MODAL LAYER #### var Modal = new function() { this.show = function(content, width, height) { // Cut window and remove scrollbars var body = document.getElementsByTagName('body')[0]; body.style.height = "100%"; body.style.overflow = "hidden"; var html = document.getElementsByTagName('html')[0]; html.style.height = "100%"; html.style.overflow = "hidden"; // Create opacity overlay this.ol = el = document.createElement('DIV'); el.style.width = '110%'; el.style.height = '100%'; el.style.position = 'absolute'; el.style.backgroundColor = 'gray'; el.style.filter = 'alpha(opacity=65)'; el.style.opacity = '0.65'; el.style.left = -document.body.style.marginLeft; el.style.top = -document.body.style.marginTop; el.style.zIndex = 10000; el.onclick = function() {Modal.close();}; el.id = 'Modal_overlay'; document.body.insertBefore(el, document.body.childNodes[0]); // Create window this.ow = el = document.createElement('DIV'); el.innerHTML = content; el.style.width = width + 'px'; el.style.height = height + 'px'; el.style.position = 'absolute'; el.style.left = parseInt((parseInt(document.body.clientWidth)-width)/2) + "px"; el.style.top = '100px'; el.style.zIndex = 10001; el.id = 'Modal_window'; document.body.insertBefore(el, document.body.childNodes[0]); this.handleSelects(false); document["onkeydown"] = Modal.keyPress; if (document.getElementById('Modal_focus')) document.getElementById('Modal_focus').focus(); } this.close = function() { if (this.ol) { document.body.removeChild(document.getElementById('Modal_overlay')); document.body.removeChild(document.getElementById('Modal_window')); this.ol = null; this.ow = null; document["onkeydown"] = null; // Cut window and remove scrollbars var body = document.getElementsByTagName('body')[0]; body.style.height = ''; body.style.overflow = ''; var html = document.getElementsByTagName('html')[0]; html.style.height = ''; html.style.overflow = ''; this.handleSelects(true); } } this.keyPress = function(e) { if (!e) e=event; var key = e.keyCode; switch(key) { case 9: return false; case 27: Modal.close(); return false; default: break; } return true; } this.handleSelects = function(show) { if (navigator.appVersion.match(/\bMSIE\b/)) { var selects = document.getElementsByTagName("select"); for(var i=0;i <%@import namespace="System.Data"%> <%@ import Namespace="System.Configuration" %> <% Response.Charset = "UTF-8"; try { string strBreadCrumb = ""; string strBackgroundImage = ""; string strBreadCrumbProduct = ""; string strColorTheme = ""; bool isProductPage = false; string productid = ""; string TopCategoryID = ""; %> <% // Checking if the page has gotten a color theme from the product backend object (PPD2 database). // If the color theme variable is empty, the local color theme setting will be used. if(strColorTheme != "") { ColorTheme = int.Parse(strColorTheme); } else { if("6".Trim() != "") ColorTheme = int.Parse("6".Trim()); } %> <%@ IMPORT namespace="JIS_Convert" %> <% Response.ContentType = "text/html; CHARSET=UTF-8"; Session.CodePage=1252; %> Electrolux dy>
SEARCH
GO
<% // Setting the alternative background image if it is sent by request when the page is loaded. if(Request["bg2"] != null && Request["bg2"].ToString().Trim() != ""){ strBackgroundImage = " style=\"background-image:url(" + Request["bg2"] + ");background-repeat:repeat-y;\""; } else { // Checking if the page has gotten a background image from the product backend object (PPD2 database). // If the background image variable is empty, the local background image be used. if(strBackgroundImage.Trim() != "") { strBackgroundImage = " style=\"background-image:url(" + strBackgroundImage + ");background-repeat:repeat-y;\""; } else { if("".Trim() != ""){ strBackgroundImage = " style=\"background-image:url();background-repeat:repeat-y;\""; } else{ strBackgroundImage = " style=\"background:" + arrAreaBGColor[ColorTheme] + "\""; } } } %>
>
<% } catch(Exception ex) { Response.Write("\r\n"); } %> <% //string isPrintPage = ((Request["print"]==null)?(""):(Request["print"].Trim())); //if(isPrintPage == "yes"){ if(false){ %>
Electrolux - Designed for the well-lived home.
<% } %>
Geoffrey  Zakarian
BIOGRAPHY
RECIPES
ARTICLES
Geoffrey Zakarian
CELEBRATED CHEF
<%@ IMPORT Namespace="System.IO" %>

INGREDIENTS

Serves 4

  • 8 clementines or other small sweet oranges, peeled and kept whole with stem intact
  • 4 cups sugar
  • 1 vanilla bean, split and scraped seeds discarded
  • 1 piece star anise
  • 1 cinnamon stick
  • Pinch of saffron threads


DIRECTIONS

  • Place the clementines, stem end up, in a large pan at least 2 inches deep. Combine the sugar, vanilla bean, star anise, and saffron in a medium skillet.
  • Add 2 cups of water to the sugar mixture and bring to a boil over medium-high heat. Reduce the heat to low and cook gently for 5 minutes to make a syrup.
  • Pour the syrup over the clementines and allow them to marinate, turning them from time to time, until the syrup has cooled. Serve 2 per plate with some syrup.
<% string isPrintPage = ((Request["print"]==null)?(""):(Request["print"].Trim())); if(isPrintPage == "yes"){ %> <% string url = "http://" + ((string)(Request.ServerVariables["SERVER_NAME"] + Path.GetDirectoryName(Request.ServerVariables["SCRIPT_NAME"]) + "/node40.aspx")).Replace("\\","/"); %>
<%=url%>
<% } %>
<%@import namespace="PPD_Reader"%> <%@import namespace="System.Data"%> <%@ import Namespace="System.Configuration" %> <% Response.Charset = "UTF-8"; try { string strBreadCrumb = ""; string strBackgroundImage = ""; string strBreadCrumbProduct = ""; string strColorTheme = ""; bool isProductPage = false; string productid = ""; string TopCategoryID = ""; %> <% // Checking if the page has gotten a color theme from the product backend object (PPD2 database). // If the color theme variable is empty, the local color theme setting will be used. if(strColorTheme != "") { ColorTheme = int.Parse(strColorTheme); } else { if("6".Trim() != "") ColorTheme = int.Parse("6".Trim()); } %> <%@ IMPORT namespace="JIS_Convert" %> <% Response.ContentType = "text/html; CHARSET=UTF-8"; Session.CodePage=1252; %> Electrolux dy>
SEARCH
GO
<% // Setting the alternative background image if it is sent by request when the page is loaded. if(Request["bg2"] != null && Request["bg2"].ToString().Trim() != ""){ strBackgroundImage = " style=\"background-image:url(" + Request["bg2"] + ");background-repeat:repeat-y;\""; } else { // Checking if the page has gotten a background image from the product backend object (PPD2 database). // If the background image variable is empty, the local background image be used. if(strBackgroundImage.Trim() != "") { strBackgroundImage = " style=\"background-image:url(" + strBackgroundImage + ");background-repeat:repeat-y;\""; } else { if("".Trim() != ""){ strBackgroundImage = " style=\"background-image:url();background-repeat:repeat-y;\""; } else{ strBackgroundImage = " style=\"background:" + arrAreaBGColor[ColorTheme] + "\""; } } } %>
>
<% } catch(Exception ex) { Response.Write("\r\n"); } %> <% //string isPrintPage = ((Request["print"]==null)?(""):(Request["print"].Trim())); //if(isPrintPage == "yes"){ if(false){ %>
Electrolux - Designed for the well-lived home.
<% } %>
Geoffrey  Zakarian
BIOGRAPHY
RECIPES
ARTICLES
Geoffrey Zakarian
CELEBRATED CHEF
<%@ IMPORT Namespace="System.IO" %>

INGREDIENTS

Serves 6

  • 4 tablespoons extra-virgin olive oil
  • 3 pounds ground pork (from the shoulder)
  • 1/2 tablespoon kosher salt, plus more to taste
  • 1/2 tablespoon freshly ground black pepper, plus more to taste
  • 1 large white onion, chopped
  • 3 large cloves garlic, minced
  • 1 tablespoon ancho chili powder
  • 1 tablespoon Worcestershire sauce
  • 2 cups White Beef Stock (or low-sodium canned)
  • 1 tablespoon green Tabasco, or equivalent green hot pepper sauce
  • 6 chopped canned tomatoes or freshly peeled, seeded medium tomatoes (about 3 pounds)
  • 1 tablespoon tomato paste
  • 1/2 pound blue cheese, at room temperature, crumbled into small pieces, for garnish
  • 1 small bunch of scallions, chopped, for garnish


DIRECTIONS

  • Place 2 tablespoons of the oil in a Dutch oven or large heavy pot over medium-high heat. When the oil is hot, add the meat and cook, stirring frequently, until brown all over, about 10 minutes. Season the meat with the salt and pepper and transfer to a colander set over a bowl to drain.
  • Wipe out the pot, place it over medium heat, and add 2 more tablespoons of the oil. Add the onions and cook, stirring frequently, until they soften, about 8 minutes. Add the garlic and cook until fragrant, about 2 minutes, then add the chili powder.
  • Toast the chili powder, stirring, until it darkens slightly, about 2 minutes. Add the Worcestershire sauce, stock, Tabasco, tomatoes, and tomato paste. Adjust the heat to bring the contents of the pot to a gentle simmer.
  • Return the meat to the pot and simmer the chili, stirring occasionally, until the liquid is reduced and the flavors combined, about 40 minutes. Season the chili to taste with salt, pepper, and additional Tabasco if desired. Spoon the chili into bowls, top with crumbled blue cheese and chopped scallions, and serve.

<% string isPrintPage = ((Request["print"]==null)?(""):(Request["print"].Trim())); if(isPrintPage == "yes"){ %> <% string url = "http://" + ((string)(Request.ServerVariables["SERVER_NAME"] + Path.GetDirectoryName(Request.ServerVariables["SCRIPT_NAME"]) + "/node41.aspx")).Replace("\\","/"); %>
<%=url%>
<% } %>