var testresults

function checkemail(){
 var str=document.newsletter.email.value
 var filter=/^.+@.+\..{2,3}$/

 if (filter.test(str))
    testresults=true
 else {
    alert("Please input a valid email address!")
    testresults=false
}
 return (testresults)
}

function checkForm(){
if (document.layers||document.all)
return checkemail()
else
return true
}

function subscribe() {
window.open('', 'thanks', 'toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,replace=no,width=560,height=300');
}

function customerService() {
window.open('http://srv7.velaro.com/visitor/requestchat.aspx?siteid=1337', 'VelaroChat', 'toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,replace=no,width=400,height=400');
}



function checkCart()
{
document.write('<html>'+
'<head>'+
'<title>Adult DVD Video Store</title>'+
'<meta name="Description" content="Adult DVD Video Store. Free Adult Videos/DVDs! Worldwide shipping.">'+
'<meta http-equiv="Content-Language" content="en-us">'+
'</head>'+
'<frameset cols="112,*" framespacing="0" border="0" frameborder="0">'+
'<frame src="http://www.mallcom.com/superstore-cgi/hazel.cgi?rn=25588&action=serve&item=bg01/dvdnavigationblack.html&theme=bg01" noresize name="category" marginwidth="0" marginheight="0" scrolling="no">'+
'<frameset rows="112,*,14">'+
'<frame src="http://www.adultdvdpornvideo.com/storetop.htm" marginwidth="0" marginheight="0" scrolling="no" name="pornvideodvd" noresize target="products">'+
'<frame src="http://www.mallcom.com/superstore-cgi/hazel.cgi?rn=25588&action=VIEW" target="products" name="products" scrolling="auto">'+
'<frame src="http://www.adultdvdpornvideo.com/storebottom.htm" marginwidth="0" marginheight="0" scrolling="no" name="pornvideodvdbottom" noresize target="_parent">'+
'</frameset>'+
'</frameset>'+
'</html>');
}



function details()
{
document.write('<html>'+
'<head>'+
'<title>Adult DVD Porn Video Store</title>'+
'<meta name="Description" content="Adult DVD Video Store. Free Adult Videos/DVDs! Worldwide shipping.">'+
'<meta http-equiv="Content-Language" content="en-us">'+
'</head>'+
'<frameset cols="112,*" framespacing="0" border="0" frameborder="0">'+
'<frame src="http://www.mallcom.com/superstore-cgi/hazel.cgi?rn=25588&action=serve&item=bg01/dvdnavigationblack.html&theme=bg01" noresize name="category" marginwidth="0" marginheight="0" scrolling="no">'+
'<frameset rows="112,*,14">'+
'<frame src="http://www.adultdvdpornvideo.com/storetop.htm" marginwidth="0" marginheight="0" scrolling="no" name="pornvideodvd" noresize target="products">'+
'<frame src="http://www.mallcom.com/superstore-cgi/hazel.cgi?rn=25588&action=detail&item='+itm+'" target="products" name="products" scrolling="auto">'+
'<frame src="http://www.adultdvdpornvideo.com/storebottom.htm" marginwidth="0" marginheight="0" scrolling="no" name="pornvideodvdbottom" noresize target="_parent">'+
'</frameset>'+
'</frameset>'+
'</html>');
}


function add2cart()
{
document.write('<html>'+
'<head>'+
'<title>Adult DVD Video Toy Store</title>'+
'<meta name="Description" content="Adult DVD Video Sex Toy Store. Free Adult Videos/DVDs! Worldwide shipping.">'+
'<meta http-equiv="Content-Language" content="en-us">'+
'</head>'+
'<frameset cols="112,*" framespacing="0" border="0" frameborder="0">'+
'<frame src="http://www.mallcom.com/superstore-cgi/hazel.cgi?rn=25588&action=serve&item=bg01/dvdnavigationblack.html&theme=bg01" noresize name="category" marginwidth="0" marginheight="0" scrolling="no">'+
'<frameset rows="112,*,14">'+
'<frame src="http://www.adultdvdpornvideo.com/storetop.htm" marginwidth="0" marginheight="0" scrolling="no" name="pornvideodvd" noresize target="products">'+
'<frame src="http://www.mallcom.com/superstore-cgi/hazel.cgi?rn=25588&action=view&PRODUCT_'+itm+'=1" target="products" name="products" scrolling="auto">'+
'<frame src="http://www.adultdvdpornvideo.com/storebottom.htm" marginwidth="0" marginheight="0" scrolling="no" name="pornvideodvdbottom" noresize target="_parent">'+
'</frameset>'+
'</frameset>'+
'</html>');
}

function checkFields()
{ 
 var num = document.contact.elements.length;
 var Flag = true;
   
   for (i=0; i<num; i++)
   {
   if (document.contact.elements[i].value == '') { Flag = false; alert("All fields are required."); break; }
   }
   
   return Flag;
}



function clipBoard(){
var otext = document.getElementById("reciptext");

otext.focus()
otext.select()
var trange = otext.createTextRange()
copyRange = trange.execCommand("Copy");
}



function textCounter(field,cntfield,maxlimit)
{
        if (field.value.length > maxlimit)
                field.value = field.value.substring(0, maxlimit);
        else
                cntfield.value = maxlimit - field.value.length;
}












	









