|
Place a bid
Add some color to the darkness of night
Update your old night light to something new, fun and functional. The Sunshine projection light is an energy savings night light. It uses an LED light that does not generate heat, stays cool to the touch.
iMainPicMaxWidth=400;
iHeightFactor=1;
iMainPicMaxHeight=iMainPicMaxWidth*iHeightFactor;
iTNPicMaxWidth=128;
iTNPicMaxHeight=iTNPicMaxWidth*iHeightFactor;
iMainPicWidth=0;
iMainPicHeight=0;
imgLastSelected=null;
function showpicture(iSelectedFrameworkcontentdataID,img,src,iWidth,iHeight,iMaxWidth,iMaxHeight){
iDisplayWidth=iWidth;
iDisplayHeight=iHeight;
if (iWidth>iMaxWidth || iHeight>iMaxHeight) {
iWHRatio=iWidth/iHeight;
iWRatio=iWidth/iMaxWidth;
iHRatio=iHeight/iMaxHeight;
if (iWRatio>iHRatio){
iDisplayWidth=iMaxWidth;
scaling=iDisplayWidth/iWidth;
iDisplayHeight=iHeight*scaling;
} else {
iDisplayHeight=iMaxHeight;
scaling=iDisplayHeight/iHeight;
iDisplayWidth=iWidth*scaling;
}
}
img.width=iDisplayWidth;
img.height=iDisplayHeight;
img.src=src;
}
function showmain(iSelectedFrameworkcontentdataID,src,iWidth,iHeight,bGotoAnchor){
document.bb_mainform.SelectedFrameworkcontentdataID.value=iSelectedFrameworkcontentdataID;
iMainPicWidth=iWidth;
iMainPicHeight=iHeight;
showpicture(iSelectedFrameworkcontentdataID,document.imgPicture0,src,iWidth,iHeight,iMainPicMaxWidth,iMainPicMaxHeight);
document.all.bb_enlargeimagelink.href=src;
if (iWidth
|