Familiar with JavaScript?

Okay I am wondering if there are any of you as experts out there that may be familiar with JavaScript as well. If there is a forum better suited to this post, I apologize (other than the fact this is not a JS forum)

Anyway, here is my problem. I have 2 groups of script that need to be used in the head content of a Lotus Notes Form, and I need them to be combined under one script definition. Each works great on it’s own, but when entered that same way together, neither is working. I know they both need to go in the [COLOR=DarkOrange]SCRIPT LANGUAGE = [/COLOR] definition, but I cannot get it to work right.

Anyway, I thought it was worth a try here I have posted in a couple JS forums and not been able to get an answer.

Here is the code:

“[<SCRIPT LANGUAGE=“JavaScript”> function popUp(url) { sealWin=window.open(url,“win”,‘toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450’); self.name = “mainWin”; } </SCRIPT>]”;

“<link href=”/"+DB+"/site.css?openpage" rel=“stylesheet” type=“text/css” title=“online”>"