//code to find out user's screen dimensions and center
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
var myCenter=Math.floor(myWidth/2);
function emailok(str) {
return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);
}
function submitit()
{
document.form1.submit ();
}
function closebox(topy,thanks)
{
var tm=3;
if(thanks)
{
if(!emailok(document.form1.email.value)){ alert("Please fill in your email address"); document.form1.email.value=""; return false; }
if((document.form1.fname.value).length < 2) { alert("Please fill in your first name"); return false; }
document.getElementById("signupbox").style.backgroundPosition="400px";
document.getElementById("signupform").style.visibility="hidden";
thanks=0;
setTimeout("submitit(); ", 3000);
setCookie("signup","true",1000);
return false;
}
else
{
topy=topy-4;
document.getElementById("signupbox").style.top = topy + "px";
if( topy > -400)
{
setTimeout("closebox(" + topy + "," + thanks +")", tm);
return;
}
setCookie("signup","true",1);
}
/*document.getElementById("signupbox").style.visibility = "hidden";
document.getElementById("signupbox").style.top = "-400px"; */
}
function movesignupbox(topy,left,endtop,interval)
{
topy= topy+4;
if (topy > endtop) topy=endtop;
document.getElementById("signupbox").style.top = topy + "px";
document.getElementById("signupbox").style.left = left + "px";
if(topy< endtop)
setTimeout("movesignupbox(" + topy + ", " + left + ", " + endtop + ", " + interval + ")", interval);
}
function indexfunction()
{
if(!getCookie("signup"))
{
movesignupbox(-400, (myWidth-400)/2 + 200,10,10);
document.getElementById("signupbox").style.visibility = "visible";
}
}
// this fixes an issue with the old method, ambiguous values
// with this test document.cookie.indexOf( name + "=" );
function getCookie( check_name ) {
// first we'll split this cookie up into name/value pairs
// note: document.cookie only returns name=value, not the other components
var a_all_cookies = document.cookie.split( ';' );
var a_temp_cookie = '';
var cookie_name = '';
var cookie_value = '';
var b_cookie_found = false; // set boolean t/f default f
for ( i = 0; i < a_all_cookies.length; i++ )
{
// now we'll split apart each name=value pair
a_temp_cookie = a_all_cookies[i].split( '=' );
// and trim left/right whitespace while we're at it
cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');
// if the extracted name matches passed check_name
if ( cookie_name == check_name )
{
b_cookie_found = true;
// we need to handle case where cookie has no value but exists (no = sign, that is):
if ( a_temp_cookie.length > 1 )
{
cookie_value = unescape( a_temp_cookie[1].replace(/^\s+|\s+$/g, '') );
}
// note that in cases where cookie is initialized but no value, null is returned
return cookie_value;
break;
}
a_temp_cookie = null;
cookie_name = '';
}
if ( !b_cookie_found )
{
return null;
}
}
function setCookie( name, value, expires )
{
// set time, it's in milliseconds
var today = new Date();
var path = "/";
today.setTime( today.getTime() );
/*
if the expires variable is set, make the correct
expires time, the current script below will set
it for x number of days, to make it for hours,
delete * 24, for minutes, delete * 60 * 24
*/
if ( expires )
{
expires = expires * 1000 * 60 * 60 * 24;
}
var expires_date = new Date( today.getTime() + (expires) );
document.cookie = name + "=" +escape( value ) +
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) +
( ( path ) ? ";path=" + path : "" )
}
|

|
|
We'd love for you to join us as a retailer of our unique jigsaw puzzles. As a retailer, you'll enjoy:
~ 50% off our suggested retail price
~ Low order minimum of $100 and no individual item minimums
~ Highest quality product and genuinely excellent customer service
~ Fast, affordable shipping from our New York warehouse
~ An ethically made and Earth friendly product (made in the USA and made from recycled materials)
Click below to find out more about our jigsaw puzzle wholesale program or to create an account. We look forward to working with you.
|
|
|
| Order Online
Use our convenient secure shopping cart
and pay online by credit card
Order by Phone
Call your order in to
808-344-4435
Order By Fax
Fill out our simple Order Form and fax to us at:
484-204-3572
|
|
|
|
|