﻿

$(document).ready(function() {
    
    var headerImg = document.createElement('img');
        headerImg.setAttribute("src","images2/header2.jpg");
        headerImg.setAttribute("alt","the roaming jew - kosher database");
        
    var divText = document.createElement('div');
        divText.setAttribute("id","divText");
        divText.onclick = function() { AboutUs();};
        divText.onmouseover = function() { document.body.style.cursor = 'pointer'; };
        divText.onmouseout = function() { document.body.style.cursor = 'default'; };

    
//    var topDiv = document.createElement('div');
//        topDiv.setAttribute("id","topDiv");
        
//    var divB = document.createElement('div');        
//    var divC = document.createElement('div');
//    var divD = document.createElement('div');
//    var divE = document.createElement('div');
//    var divF = document.createElement('div');
//    var divG = document.createElement('div');
//    var divH = document.createElement('div');
//    var divI = document.createElement('div');
//    var divJ = document.createElement('div');
//    var divK = document.createElement('div');
//    var middleDiv = document.createElement('div');
//    var navMenu = document.createElement('div');
        
        
//        divB.setAttribute("id","divB");
//        divC.setAttribute("id","divC");
//        divD.setAttribute("id","divD");
//        divE.setAttribute("id","divE");
//        divF.setAttribute("id","divF");
//        divG.setAttribute("id","divG");
//        divH.setAttribute("id","divH");
//        divI.setAttribute("id","divI");
//        divJ.setAttribute("id","divJ");
//        divK.setAttribute("id","divK");
//        middleDiv.setAttribute("id","middleDiv");
//        navMenu.setAttribute("id","navMenu");
        
//    var ad1 = document.createElement('img');
//        ad1.setAttribute("id","ad1");
//        ad1.setAttribute("src","images2/h_ad_1.jpg");
//        ad1.setAttribute("alt","advertisement");

//    var ad1a = document.createElement('img');
//        ad1a.setAttribute("id","ad1a");
//        ad1a.setAttribute("src","images2/h_ad_1_1.jpg");
//        ad1a.setAttribute("alt","advertisement");
//        ad1a.setAttribute("class","ad1");
//        
//    var ad1b = document.createElement('img');
//        ad1b.setAttribute("id","ad1b");
//        ad1b.setAttribute("src","images2/h_ad_1_2.jpg");
//        ad1b.setAttribute("alt","advertisement");
//        ad1b.setAttribute("class","ad1");
//        
//    var ad1c = document.createElement('img');
//        ad1c.setAttribute("id","ad1c");
//        ad1c.setAttribute("src","images2/h_ad_1_3.jpg");
//        ad1c.setAttribute("alt","advertisement");
//        ad1c.setAttribute("class","ad1");
//        
//    var ad1d = document.createElement('img');
//        ad1d.setAttribute("id","ad1d");
//        ad1d.setAttribute("src","images2/h_ad_1_4.jpg");
//        ad1d.setAttribute("alt","advertisement");
//        ad1d.setAttribute("class","ad1");
//        
//    var ad1e = document.createElement('img');
//        ad1e.setAttribute("id","ad1e");
//        ad1e.setAttribute("src","images2/h_ad_1_5.jpg");
//        ad1e.setAttribute("alt","advertisement");
//        ad1e.setAttribute("class","ad1");
//        
//    var ad1f = document.createElement('img');
//        ad1f.setAttribute("id","ad1f");
//        ad1f.setAttribute("src","images2/h_ad_1_6.jpg");
//        ad1f.setAttribute("alt","advertisement");
//        ad1f.setAttribute("class","ad1");


//    var ad2 = document.createElement('img');
//        ad2.setAttribute("id","ad2");
//        ad2.setAttribute("src","images2/h_ad_1.jpg");
//        ad2.setAttribute("alt","advertisement");
//    var ad3 = document.createElement('img');
//        ad3.setAttribute("id","ad3");
//        ad3.setAttribute("src","images2/h_ad_1.jpg");
//        ad3.setAttribute("alt","advertisement");


    var ad4 = document.createElement('img');
        ad4.setAttribute("id","ad4");
        ad4.setAttribute("src","images2/non_profit_ad.jpg");
        ad4.setAttribute("alt","non-profit advertisement");
    
    var link1 = document.createElement('a');
    var link2 = document.createElement('a');
    var link3 = document.createElement('a');
    var link4 = document.createElement('a');
    var link5 = document.createElement('a');
    var link6 = document.createElement('a');
    var link7 = document.createElement('a');
    var link8 = document.createElement('a');
    var link9 = document.createElement('a');
    var link10 = document.createElement('a');
    
    var nav1 = document.createElement('img');
    var nav2 = document.createElement('img');
    var nav3 = document.createElement('img');
    var nav4 = document.createElement('img');
    var nav5 = document.createElement('img');
    var nav6 = document.createElement('img');
    var nav7 = document.createElement('img');
    var nav8 = document.createElement('img'); 
    var nav9 = document.createElement('img');
    var nav10 = document.createElement('img');
    var navStar = document.createElement('img');
    
        link1.setAttribute("id","link1");
        link1.onclick = function() { window.location = 'default.aspx';};
        link2.setAttribute("id","link2");
        link2.onclick = function() { AboutUs();};
        link3.setAttribute("id","link3");
        link3.onclick = function() { window.open('market.aspx','_blank');};
        link4.setAttribute("id","link4");
        link4.onclick = function() { window.open('rabbis.aspx','_blank');};
        link5.setAttribute("id","link5");
//        link5.onclick = function() { window.location = 'http://www.hebcal.com/hebcal/?v=0;year=2010;month=1;nx=on;nh=on;vis=on;tag=cal.cust;c=off';};
        link5.onclick = function() { window.open('http://www.hebcal.com/hebcal/?v=0;year=2010;month=1;nx=on;nh=on;vis=on;tag=cal.cust;c=off','_blank');};
        link6.setAttribute("id","link6");
        link6.onclick = function() { window.open('http://www.theroamingjew.com/wordpress/The%20Roaming%20Jew.com%20Hub%20Spot%20Files/blog.theroamingjew.com/index.html','_blank');};
        link7.setAttribute("id","link7");
        link7.onclick = function() { window.open('suggest.aspx','_blank');};
        link8.setAttribute("id","link8");
        link8.onclick = function() { window.open('report.aspx','_blank');};
        link9.setAttribute("id","link9");
        link9.onclick = function() { window.open('feedback.aspx','_blank');};
        link10.setAttribute("id","link10");
        link10.onclick = function() { window.open('ad_form.aspx','_blank');};
        
        nav1.setAttribute("id","nav1");
        nav2.setAttribute("id","nav2");
        nav3.setAttribute("id","nav3");
        nav4.setAttribute("id","nav4");
        nav5.setAttribute("id","nav5");
        nav6.setAttribute("id","nav6");
        nav7.setAttribute("id","nav7");
        nav8.setAttribute("id","nav8");
        nav9.setAttribute("id","nav9");
        nav10.setAttribute("id","nav10");
        navStar.setAttribute("id","navStar");
        
        nav1.setAttribute("src","images2/nav_1_off.jpg");
        nav2.setAttribute("src","images2/nav_2_off.jpg");
        nav3.setAttribute("src","images2/nav_3_off.jpg");
        nav4.setAttribute("src","images2/nav_4_off.jpg");
        nav5.setAttribute("src","images2/nav_5_off.jpg");
        nav6.setAttribute("src","images2/nav_6_off.jpg");
        nav7.setAttribute("src","images2/nav_7_off.jpg");
        nav8.setAttribute("src","images2/nav_8_off.jpg");
        nav9.setAttribute("src","images2/nav_9_off.jpg");
        nav10.setAttribute("src","images2/nav_10_off.jpg");
        navStar.setAttribute("src","images2/nav_bottom.jpg");
        
        nav1.setAttribute("alt","Search");
        nav2.setAttribute("alt","About Us");
        nav3.setAttribute("alt","Market Place");
        nav4.setAttribute("alt","Rabbis Corner");
        nav5.setAttribute("alt","Shabbat Times");
        nav6.setAttribute("alt","Forum");
        nav7.setAttribute("alt","Add Establishment");
        nav8.setAttribute("alt","Report Abuse");
        nav9.setAttribute("alt","Feedback");
        nav10.setAttribute("alt","Advertise");
        
        nav1.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav1").attr('src', 'images2/nav_1_on.jpg');};
        nav2.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav2").attr('src', 'images2/nav_2_on.jpg');};
        nav3.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav3").attr('src', 'images2/nav_3_on.jpg');};
        nav4.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav4").attr('src', 'images2/nav_4_on.jpg');};
        nav5.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav5").attr('src', 'images2/nav_5_on.jpg');};
        nav6.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav6").attr('src', 'images2/nav_6_on.jpg');};
        nav7.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav7").attr('src', 'images2/nav_7_on.jpg');};
        nav8.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav8").attr('src', 'images2/nav_8_on.jpg');};
        nav9.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav9").attr('src', 'images2/nav_9_on.jpg');};
        nav10.onmouseover = function() { document.body.style.cursor = 'pointer'; $("#nav10").attr('src', 'images2/nav_10_on.jpg');};
        
        nav1.onmouseout = function() { nav1.src = "images2/nav_1_off.jpg"; document.body.style.cursor = 'default'; };
        nav2.onmouseout = function() { nav2.src = "images2/nav_2_off.jpg"; document.body.style.cursor = 'default'; };
        nav3.onmouseout = function() { nav3.src = "images2/nav_3_off.jpg"; document.body.style.cursor = 'default'; };
        nav4.onmouseout = function() { nav4.src = "images2/nav_4_off.jpg"; document.body.style.cursor = 'default'; };
        nav5.onmouseout = function() { nav5.src = "images2/nav_5_off.jpg"; document.body.style.cursor = 'default'; };
        nav6.onmouseout = function() { nav6.src = "images2/nav_6_off.jpg"; document.body.style.cursor = 'default'; };
        nav7.onmouseout = function() { nav7.src = "images2/nav_7_off.jpg"; document.body.style.cursor = 'default'; };
        nav8.onmouseout = function() { nav8.src = "images2/nav_8_off.jpg"; document.body.style.cursor = 'default'; };
        nav9.onmouseout = function() { nav9.src = "images2/nav_9_off.jpg"; document.body.style.cursor = 'default'; };
        nav10.onmouseout = function() { nav10.src = "images2/nav_10_off.jpg"; document.body.style.cursor = 'default'; };
        
//    var centerDiv = document.createElement('div');
//        centerDiv.setAttribute("id","centerDiv");
    var taglineDiv = document.createElement('div');
        taglineDiv.setAttribute("id","taglineDiv");
        
    var divLabels = document.createElement('div');
    var divInputs = document.createElement('div');
    var divResults = document.createElement('div');
        
        divLabels.setAttribute("id","divLabels");
        divInputs.setAttribute("id","divInputs");
        divResults.setAttribute("id","divResults");
   
   var lbl1 = document.createElement('label');
   var lbl2 = document.createElement('label');
   var lbl3 = document.createElement('label');
   var lbl4 = document.createElement('label');
//   var lbl5 = document.createElement('label');
   var lbl6 = document.createElement('label');
   
        lbl1.setAttribute("id","lbl1");
        lbl2.setAttribute("id","lbl2");
        lbl3.setAttribute("id","lbl3");
        lbl4.setAttribute("id","lbl4");
//        lbl5.setAttribute("id","lbl5");
        lbl6.setAttribute("id","lbl6");
        
        lbl1.innerHTML = "City: ";
        lbl2.innerHTML = "Borough: ";
        lbl3.innerHTML = "State: ";
        lbl4.innerHTML = "Country: ";
//        lbl5.innerHTML = "Address: ";
        lbl6.innerHTML = "Zip Code: ";
        
   var inpt1 = document.createElement('input');
   var inpt2 = document.createElement('input');
   var inpt3 = document.createElement('input');
   var inpt4 = document.createElement('input');
   var inpt5 = document.createElement('input');
//   var inpt6 = document.createElement('input');
       
       inpt1.setAttribute("id","inpt1");
       inpt2.setAttribute("id","inpt2");
       inpt2.setAttribute("disabled","true");
       inpt3.setAttribute("id","inpt3");
       inpt3.setAttribute("disabled","true");
       inpt4.setAttribute("id","inpt4");
       inpt4.setAttribute("disabled","true");
       inpt5.setAttribute("id","inpt5");
//       inpt6.setAttribute("id","inpt6");
       
       inpt1.setAttribute("type","text");
       inpt2.setAttribute("type","text");
       inpt3.setAttribute("type","text");
       inpt4.setAttribute("type","text");
       inpt5.setAttribute("type","text");
//       inpt6.setAttribute("type","text");
   
    var divError = document.createElement("div"); 
        divError.setAttribute("id","divError");  
    var lblError = document.createElement("label");
		lblError.setAttribute("id","lblError"); 
		   
       
    var btnSearch = document.createElement('input');
        btnSearch.setAttribute("id","btnSearch");
        btnSearch.setAttribute("type","button");
        btnSearch.setAttribute("value","Search");
        
    var btnClear = document.createElement('input');
        btnClear.setAttribute("id","btnClear");
        btnClear.setAttribute("type","button");
        btnClear.setAttribute("value","Clear Fields");
        
    var divSuggest1=document.createElement('div');
    var divSuggest2=document.createElement('div');
    var divSuggest3=document.createElement('div');
    var divSuggest4=document.createElement('div');
        divSuggest1.setAttribute("id","divSuggest1");
        divSuggest2.setAttribute("id","divSuggest2");
        divSuggest3.setAttribute("id","divSuggest3"); 
        divSuggest4.setAttribute("id","divSuggest4");  
        
//    var vSpacer1 = document.createElement('div');
//        vSpacer1.setAttribute("id","vSpacer1");
        
//    var sideAds = document.createElement('div');
//        sideAds.setAttribute("id","sideAds");
        
//    var ad6Div = document.createElement('div');
//    var ad7Div = document.createElement('div');
//    var ad8Div = document.createElement('div');
//    var ad9Div = document.createElement('div');

//    
//        ad6Div.setAttribute("id","ad6Div");
//        ad7Div.setAttribute("id","ad7Div");
//        ad8Div.setAttribute("id","ad8Div");
//        ad9Div.setAttribute("id","ad9Div");

//        
//    var ad6 = document.createElement('img');
//    var ad7 = document.createElement('img');
//    var ad8 = document.createElement('img');
//    var ad9 = document.createElement('img');

//        
//        ad6.setAttribute("id","ad6");
//        ad7.setAttribute("id","ad7");
//        ad8.setAttribute("id","ad8");
//        ad9.setAttribute("id","ad9");

//        

//        ad6.setAttribute("src","images2/v_ad_1.jpg"); 
//        ad7.setAttribute("src","images2/v_ad_2.jpg");
//        ad8.setAttribute("src","images2/v_ad_3.jpg");
//        ad9.setAttribute("src","images2/v_ad_4.jpg");

//        
//        ad6.setAttribute("alt","advertisement"); 
//        ad7.setAttribute("alt","advertisement");
//        ad8.setAttribute("alt","advertisement");
//        ad9.setAttribute("alt","advertisement");
    
    
//    var ad6SpacerDiv = document.createElement('div');
//    var ad7SpacerDiv = document.createElement('div');
//    var ad8SpacerDiv = document.createElement('div');

//        
//        ad6SpacerDiv.setAttribute("id","ad6SpacerDiv");
//        ad7SpacerDiv.setAttribute("id","ad7SpacerDiv");
//        ad8SpacerDiv.setAttribute("id","ad8SpacerDiv");

            
//    var vSpacer2 = document.createElement('div');
//        vSpacer2.setAttribute("id","vSpacer2");
        
        $("#mapDiv").css("visibility","hidden"); 
         
        $("#header").append(divText);  
      
//        $("#mainDiv").append(topDiv);
//        $("#topDiv").append(divB);
        
        
//        $("#topDiv").append(divC);
            
 //           $("#divC").html("<script type='text/javascript'><!--google_ad_client = 'pub-6866004360569263';/* TheRoamingJew Adsense Unit */google_ad_slot = '8944510039';google_ad_width = 234;google_ad_height = 60;//--></script><script type='text/javascript'src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>");
            
//        $("#divC").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_1_1.jpg' border=0 /></a>");
//        $("#divC").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_1_2.jpg' border=0 /></a>");
//        $("#divC").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_1_3.jpg' border=0 /></a>");
//        $("#divC").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_1_4.jpg' border=0 /></a>");
//        $("#divC").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_1_5.jpg' border=0 /></a>");
//        $("#divC").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_1_6.jpg' border=0 /></a>");
//        
//         $("#divC").cycle({
//		                        fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
//		                        random:1
//	        });

        
        
        
        
//        $("#topDiv").append(divD);
//        $("#topDiv").append(divE);
        $("#divE").append("<a href='http://advertising.theroamingjew.com/advertise-with-the-premier-worldwide-search-engine-for-the-jewish-community/' target='_blank' class='adLink' ><img src='images2/scottsdale_ad1_place1.jpg' border=0 /></a>");
        $("#divE").append("<a href='http://advertising.theroamingjew.com/advertise-with-the-premier-worldwide-search-engine-for-the-jewish-community/' target='_blank' class='adLink' ><img src='images2/scottsdale_ad3_place1.jpg' border=0 /></a>");
        $("#divE").append("<a href='http://advertising.theroamingjew.com/advertise-with-the-premier-worldwide-search-engine-for-the-jewish-community/' target='_blank' class='adLink' ><img src='images2/homepage_ad.jpg' border=0 /></a>");
//        $("#divE").append("<a href='http://advertising.theroamingjew.com/advertise-with-the-premier-worldwide-search-engine-for-the-jewish-community/' target='_blank' class='adLink' ><img src='images2/h_ad_2_4.jpg' border=0 /></a>");
//        $("#divE").append("<a href='http://advertising.theroamingjew.com/advertise-with-the-premier-worldwide-search-engine-for-the-jewish-community/' target='_blank' class='adLink' ><img src='images2/h_ad_2_5.jpg' border=0 /></a>");
//        $("#divE").append("<a href='http://advertising.theroamingjew.com/advertise-with-the-premier-worldwide-search-engine-for-the-jewish-community/' target='_blank' class='adLink' ><img src='images2/h_ad_2_6.jpg' border=0 /></a>");
        
         $("#divE").cycle({
		                        fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		                        random:1
	        });
        
        
        
        
        
        
//        $("#topDiv").append(divF);
//        $("#topDiv").append(divG);
//        $("#divG").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_3_1.jpg' border=0 /></a>");
//        $("#divG").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_3_2.jpg' border=0 /></a>");
//        $("#divG").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_3_3.jpg' border=0 /></a>");
//        $("#divG").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_3_4.jpg' border=0 /></a>");
//        $("#divG").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_3_5.jpg' border=0 /></a>");
//        $("#divG").append("<a href='http://www.google.com' target='_blank' class='adLink' ><img src='images2/h_ad_3_6.jpg' border=0 /></a>");
//        
//         $("#divG").cycle({
//		                        fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
//		                        random:1
//	        });
        
        
        
        
//        $("#topDiv").append(divH);
//        $("#topDiv").append(divI);
        $("#divI").append(ad4);
//        $("#topDiv").append(divJ);
//        $("#topDiv").append(divK);
//        $("#topDiv").append(middleDiv);
//        $("#middleDiv").append(navMenu);
//        $("#middleDiv").append(centerDiv);
        $("#centerDiv").append(taglineDiv);
        $("#centerDiv").append(divLabels);
        $("#centerDiv").append(divInputs);
        $("#centerDiv").append(divResults);
//        $("#middleDiv").append(vSpacer1);
//        $("#middleDiv").append(sideAds);
//        $("#middleDiv").append(vSpacer2);
        
        $("#navMenu").append(link1);
        $("#navMenu").append(link2);
        $("#navMenu").append(link3);
        $("#navMenu").append(link4);
        $("#navMenu").append(link5);
        $("#navMenu").append(link6);
        $("#navMenu").append(link7);
        $("#navMenu").append(link8);
        $("#navMenu").append(link9);
        $("#navMenu").append(link10);
        $("#navMenu").append(navStar);
        
        $("#link1").append(nav1);
        $("#link2").append(nav2);
        $("#link3").append(nav3);
        $("#link4").append(nav4);
        $("#link5").append(nav5);
        $("#link6").append(nav6);
        $("#link7").append(nav7);
        $("#link8").append(nav8);
        $("#link9").append(nav9);
        $("#link10").append(nav10);
        
        
        
        $("#divLabels").append(lbl1);
        $("#divLabels").append(lbl2);   
        $("#divLabels").append(lbl3);   
        $("#divLabels").append(lbl4);   
//        $("#divLabels").append(lbl5);
        $("#divLabels").append(lbl6);
        $("#divLabels").append(divError);
        $("#divError").append(lblError);
        
       
        $("#divInputs").append(inpt1);
        $("#divInputs").append(divSuggest1);
        $("#divInputs").append(inpt2);
        $("#divInputs").append(divSuggest2);
        $("#divInputs").append(inpt3);
        $("#divInputs").append(divSuggest3);
        $("#divInputs").append(inpt4);        
        $("#divInputs").append(inpt5);
        $("#divInputs").append(divSuggest4);
//        $("#divInputs").append(inpt6);
        $("#divInputs").append(btnSearch);
        $("#divInputs").append("<br />");
        $("#divInputs").append("<br />");
        $("#divInputs").append(btnClear);
        
        $("#inpt1").focus();
        
        $("#divText").append("Being a devout Jew and adhering to the laws of Kashrut has always been challenging…to do so today can be daunting. Between the increasing use of commercial food additives (containing “hidden” homitz and treif), the increasing occurrence of national and international travel, and the increasing difficulty of finding Kosher eating establishments that are reliably supervised, being observant can be a full-time job…a job that we at theRoamingJew.com want to take on for you.<br /><span style='float:right;' >Click here to read more...</span>");
        $("#btnClear").click(function () {ClearFields(); });
        
//        $("#sideAds").append(ad6Div);
//        $("#sideAds").append(ad6SpacerDiv);
//        $("#sideAds").append(ad7Div);
//        $("#sideAds").append(ad7SpacerDiv);
//        $("#sideAds").append(ad8Div);
//        $("#sideAds").append(ad8SpacerDiv);
//        $("#sideAds").append(ad9Div);

//        
//        $("#ad6Div").append(ad6);
//        $("#ad7Div").append(ad7);
//        $("#ad8Div").append(ad8);
//        $("#ad9Div").append(ad9);

        
        
        function ClearFields(){
        
            $("#inpt1").val(" ");
            $("#inpt2").val(" ");
            $("#inpt3").val(" ");
            $("#inpt4").val(" ");
            $("#inpt5").val(" ");
        }
        
        function AboutUs(){
        
            $("#centerDiv").empty();
            $("#centerDiv").append("<h2 style='color:blue;'>Welcome to The Roaming Jew.com!</h2><span style='text-align:left; color:blue;'><p>Being a devout Jew and adhering to the laws of Kashrut has always been challenging…to do so today can be daunting.  Between the increasing use of commercial food additives (containing “hidden” homitz and treif), the increasing occurrence of national and international travel, and the increasing difficulty of finding Kosher eating establishments that are reliably supervised, being observant can be a full-time job…a job that we at theroamingjew.com want to take on for you.</p><p>With the advent of the Internet, the Jewish community has grown beyond the neighborhood, beyond the shul, beyond physical boundaries.  It is the goal of theroamingjew.com to connect this extended community in ways that will make it closer, stronger and more vital.  To achieve this, we have set the following objectives:</p><ul><li>Facilitate access to Kosher food establishments.</li><li>Promote Jewish organizations.</li><li>Encourage sharing of knowledge through use of the Rabbi's Corner.</li><li>Provide Jews with a forum to share ideas and thoughts.</li><li>Identify synagogues and hotels that are within walking distance of each other.</li><li>Supply a market place where classified ads can be placed and reviewed.</li></ul><p>In short, theroamingjew.com wants to become the “go to” website for all Jewish-related needs...an ambitious undertaking that cannot be accomplished without your support.  Indeed, we want you to think of this as your website, because without your input and participation, it cannot succeed.</p><p>Enjoy your journey through this website.  It is just in its infancy right now, but it will grow with the help and the nurturing of our community.  So, please, give us your thoughts, suggestions, criticisms, compliments and/or encouragements...this is your website, and we want it to be as useful, informative and fun as it can be!</p><p>Sincerely,</p><p>Eli & Jackie Setton</p></span>");
        
        
        }
        
        function Construction(section){
        
            $("#centerDiv").empty();
            $("#centerDiv").append("<center><h2 style='color:#000099' >The " + section + "  portion of our site is still under construction.  Please continue to visit here again...Updates are made frequently.</h2><br /><a href='http://www.theroamingjew.com/default.aspx'>Return to Home</a></center> ");
        
        
        }
        
        function Rabbi(){
        
            $("#centerDiv").empty();
            $("#centerDiv").append("<div id='divRabbi'><center><h1 style='color:#000099'>Rabbi of the Month</h1></center><br /><div id='divRabbiInfo'><h3 style='color:#000099'>Rabbi Yossi Levertov</h3>Chabad of Scottsdale<br />10215 N Scottsdale Rd<br />Paradise Valley, AZ 85253<br /><br />Tel:  480-998-1410<br /><a href='chabadscottsdale@gmail.com'>chabadscottsdale@gmail.com</a><br /><a href='http://www.chabadscottsdale.org' target='_blank'>www.chabadscottsdale.org</a></div><div id='divRabbiPic'><img src='images2/rabbi.jpg' alt='Rabbi Yossi Levertov'></div><br /><br /><br /><div id='divRabbiText'><p class='rabbiText'><b>D’var Torah Parsha Vayikra</b><br />As I was preparing for the Torah reading for the Shabbat torah portion of Vayikra, the first Parsha of the book of Leviticus I took a trip down memory lane to my pre Bar Mitzvah years when I still enjoyed waking up early on Shabbat morning. My father would wake me up early and I would sit next to him as he would study the Mystical dimension of the weekly Torah portion from a book called Lekutei Torah authored by Rabbi Shneur Zalman founder of the Chabad movement.</p><p class='rabbiText'>How much I understood at that young age of those deep teachings is questionable. However, one teaching on this Torah portion did penetrate and had a lasting impression on my young mind and changed the way I serve G-d.</p><p class='rabbiText'>Vayikra 1:2 reads 'Adam Ki Yakriv Mikem', a man will bring an offering from you, an offering to G-d, from a Behama -the animal, Bakar - the cattle, and Tzoin- the sheep you should bring your offering. From the cattle and from the sheep. This verse seems grammatically incorrect.  It should read 'A man from amongst you (the Jewish people) can bring these animals as an offering to G-d'. Not 'When a man will bring from among you an offering.'</p><p class='rabbiText'>The reason the verse reads the way it does, explains Rabbi Shneur Zalman, is because by using this unusual wording, the Torah has afforded us valuable insight into the workings of religious inspiration, and provided practical advice for how to make our inspiration last.</p><p class='rabbiText'>Adam- a man, </p><p class='rabbiText'>Ki Yakriv- to offer a sacrifice also translated to become closer – if you want to get close to G-d</p><p class='rabbiText'>Mikem Korban- the sacrifice has to be from you.</p></div></div>");
        
        
        }
});









