• RELEVANCY SCORE 3.68

    DB:3.68:Ignore \N Function And Similar? zj





    put a second slash like

    C:\\ProgramData\\FinalWorldGame\\Zip\\FinalWorldWindows.zip



    or place a @ on the front like:

    @C:\ProgramData\FinalWorldGame\Zip\FinalWorldWindows.zip

    DB:3.68:Ignore \N Function And Similar? zj


    put a second slash like

    C:\\ProgramData\\FinalWorldGame\\Zip\\FinalWorldWindows.zip



    or place a @ on the front like:

    @C:\ProgramData\FinalWorldGame\Zip\FinalWorldWindows.zip

  • RELEVANCY SCORE 3.06

    DB:3.06:Formulas To Ignore Cells With Na 7a




    Is there a standard deviation formula to ignore cells with #n/a. I have a formula to ignore the #n/a when calculating the average:

    =ISNUMBER(Data)*AVERAGEIF(Data, "#n/a").
    Is there something similar for standard deviation?

    DB:3.06:Formulas To Ignore Cells With Na 7a

    Hi,

    Please read up on the AGGREGATE function.

    =AGGREGATE(7,6,Data)

    Hope this helps.

  • RELEVANCY SCORE 2.90

    DB:2.90:Ie 8 Issue In Purge Function Microsoft Jscript Runtime Error: Object Required pd




    Hi Guys,
    I am running the application in .net 2010 environment along with IE 8 and getting errors like

    //Microsoft JScript runtime error: Object required in the pop up windows .there are three button like break ,continue and ignore.... once if you click on any button then the log in page proceed to next page. Please suggest something .

    function purge(d) {

    var a = d.attributes, i, l, n;

    if (a) {

    l = a.length;

    for (i = 0; i l; i = 1) {

    n = a[i].name; //Microsoft JScript runtime error: Object required

    if (typeof d[n] ===
    'function') {

    d[n] = null;

    }

    }

    }

    a = d.childNodes;

    if (a) {

    l = a.length;

    for (i = 0; i l; i = 1) {

    purge(d.childNodes[i]);

    }

    }

    }

    window.onunload = function (e) {

    purge(document.body);

    };

    jitendriya jamadar

    DB:2.90:Ie 8 Issue In Purge Function Microsoft Jscript Runtime Error: Object Required pd

    Hi Guys,
    I am running the application in .net 2010 environment along with IE 8 and getting errors like

    //Microsoft JScript runtime error: Object required in the pop up windows .there are three button like break ,continue and ignore.... once if you click on any button then the log in page proceed to next page. Please suggest something .

    function purge(d) {

    var a = d.attributes, i, l, n;

    if (a) {

    l = a.length;

    for (i = 0; i l; i = 1) {

    n = a[i].name; //Microsoft JScript runtime error: Object required

    if (typeof d[n] ===
    'function') {

    d[n] = null;

    }

    }

    }

    a = d.childNodes;

    if (a) {

    l = a.length;

    for (i = 0; i l; i = 1) {

    purge(d.childNodes[i]);

    }

    }

    }

    window.onunload = function (e) {

    purge(document.body);

    };

    jitendriya jamadar

  • RELEVANCY SCORE 2.89

    DB:2.89:Dbx To Debug Jni Programs Stops On Sigusr2 37


    Hello,
    I am debugging a C program that uses the Java Virtual Machine throught the JNI interface.

    When using dbx to debug the program, dbx keeps on stopping on SIGUSR2 and SIGSTOP signals that are delivered to the process. I would like to ignore those an concentrate on the code I am debugging. With gdb, I used "handle SIGUSR2 nostop" command to ignore signal handlers.

    Could you please help me find a similar function in Dbx.

    Thank you in advance

    Marwan Khalil

    DB:2.89:Dbx To Debug Jni Programs Stops On Sigusr2 37

    Hello,
    I am debugging a C program that uses the Java Virtual Machine throught the JNI interface.

    When using dbx to debug the program, dbx keeps on stopping on SIGUSR2 and SIGSTOP signals that are delivered to the process. I would like to ignore those an concentrate on the code I am debugging. With gdb, I used "handle SIGUSR2 nostop" command to ignore signal handlers.

    Could you please help me find a similar function in Dbx.

    Thank you in advance

    Marwan Khalil

  • RELEVANCY SCORE 2.87

    DB:2.87:How To Index Sparse Array j8


    How can I INDEX a sparse array without resorting to VBA?
    By "sparse", I mean a mix of elements with FALSE values and other values. I want to ignore the FALSE values when applying the index.
    The situation arises in the following array formula, for example (assume C1=2):
    =INDEX(IF(A1:A10=1,B1:B10),INT(C1/2))
    where C1 is the array formula =COUNT(IF(A1:A10=1,B1:B10)).
    In actual usage, I do not always want C1/2. And the selection criteria for the array might not always be one simple criterion.
    To clarify, I want 3 from the following formula:
    =INDEX({1,FALSE,3,4},2)
    The following VBA function demonstrates the desired behavior:
    Function myIndex(a, n)
    Dim i As Long, k As Long
    myIndex = CVErr(xlErrNum)
    If TypeName(a) = "Variant()" Then
    'If UBound(a, 2) 1 Then exit function
    For i = 1 To UBound(a, 1)
    If a(i) False Then
    k = k + 1
    If k = n Then myIndex = a(i): Exit Function
    End If
    Next
    End If
    End Function

    DB:2.87:How To Index Sparse Array j8

    Thanks, Bernd. We'll call this the answer and be done with it.
    Technically, it's not "the answer" since I had requested a non-VBA solultion. But having settled on VBA as the most straight-forward approach after all, I concur that something like your last suggestion is more general-purpose.

    Hello again,
    One more suggestion so that you might not end up with too many individual UDFs over time. I think Excel lacks a generic function like my UDF ReturnNonEmpty:
    http://sulprobil.com/html/concatenate.html
    [See bottom of that page]
    With this UDF you could easily array-enter:
    =INDEX(ReturnNonEmpty(IF(ISNUMBER(A1:A10),A1:A10,"")),2)
    Regards,
    Bernd

    Thanks Bernd and Bob for your efforts. Bernd, your interpretation of the problem is correct, as demonstrated easily by comparing any proposed solution with my UDF.
    And I guess I will stick with my UDF solution, being straight-forward as it is.
    I had gotten complacent by expecting array formulas of the form XLFUNC(IF(cond,range)...) to ignore FALSE values in the array resulting from the IF() expression, as AVERAGE, SUM, PRODUCT et al do. Obviously INDEX does not. But I thought I might have overlooked
    a straight-forward alternative. Apparently not.
    PS: I finally figured out how to bottom-post "quoted" text, as Bob does. But is it really as difficult as the procedure I used?! I click Quote, then HTML, enter some text on a new line before the "backquote" tag, then return to the GUI to enter the rest
    of my text.

    Hello Bob,
    If the result 7 is not the right answer in my example for the input 4 then I have misread the task: I thought it's the 4th non-false element we are after.
    Regards, Bernd

    www.sulprobil.com

    www.sulprobil.com

  • RELEVANCY SCORE 2.86

    DB:2.86:Help Need Some Pointers 8m


     
    how do i use the condition function?
    example: if system contains(ignore case) abc
     
    how can i set multiple conditions in abc? i just add ; or ,
     
    example: if system contains(ignore case) abc; cde; and so on is this the right way?

    DB:2.86:Help Need Some Pointers 8m

     
    i changed the drop-down menu choice to checkboxes(allow multiple selections)
     
    how do i specify the condition to allow more then one items?
    do i need to insert a seperator ; ??

  • RELEVANCY SCORE 2.84

    DB:2.84:Clientscript.Registerclientscriptblock 3k


    Como funciona o
    ClientScript.RegisterClientScriptBlock
    que tipo de atributos eu colco? queria a descrição de cada um....
    estou com o seguinte código:
    Protected Sub Carrega_Confirm()
    Dim jsScript As String = script language=JavaScript \n _
    !--\n _
    function confirmDelete (frm) {\n\n _
    // loop through all elements\n _
    for (i=0; ifrm.length; i++) {\n\n _
    // Look for our checkboxes only\n _
    if (frm.elements.name.indexOf ('DeleteThis') !=-1) {\n _
    // If any are checked then confirm alert, otherwise nothing happens\n _
    if(frm.elements.checked) {\n _
    return confirm ('Are you sure you want to delete your selection(s)?')\n _
    }\n _
    }\n _
    }\n _
    }\n\n\n _
    function select_deselectAll (chkVal, idVal) {\n _
    var frm = document.forms[0];\n _
    // loop through all elements\n _
    for (i=0; ifrm.length; i++) {\n _
    // // Look for our Header Template's Checkbox\n _
    if (idVal.indexOf ('CheckAll') != -1) {\n _
    // Check if main checkbox is checked, then select or deselect datagrid checkboxes \n _
    if(chkVal == true) {\n _
    frm.elements.checked = true;\n _
    } else {\n _
    frm.elements.checked = false;\n _
    }\n _
    // Work here with the Item Template's multiple checkboxes\n _
    } else if (idVal.indexOf('DeleteThis') != -1) {\n _
    // Check if any of the checkboxes are not checked, and then uncheck top select all checkbox\n _
    if(frm.elements.checked == false) {\n _
    frm.elements[1].checked = false; // Check if any of the checkboxes are not checked, and then uncheck top select all checkbox\n _
    }\n _
    }\n _
    }\n _
    } _
    //-- \n _
    /script
    ClientScript.RegisterClientScriptBlock(Me.GetType(), BtnExcluir, jsScript)
    Dim button As WebControl
    button = CType(Page.FindControl(BtnExcluir), WebControl)
    button.Attributes.Add(onclick, return confirmDelete (this.form);)
    End Submas ta dando erro...

    DB:2.84:Clientscript.Registerclientscriptblock 3k

    Olá Lissandra!
     
    Pelo que percebi o seu controle chamado BtnExcluir é um botão e não está dentro do GridView certo?
     
    Se sim, para você adicionar o atribuito faça o seguinte:
     
    Substitua:
    ClientScript.RegisterClientScriptBlock(Me.GetType(), BtnExcluir, jsScript)
    Dim button As WebControl
    button = CType(Page.FindControl(BtnExcluir), WebControl)
    button.Attributes.Add(onclick, return confirmDelete (this.form);)

    por:
    ClientScript.RegisterClientScriptBlock(Me.GetType(), Excluir, jsScript)
    BtnExcluir.Attributes.Add(onclick, return confirmDelete(this.form);)
     
    ou, caso o BtnExcluir estiver dentro de um GridView:
    ClientScript.RegisterClientScriptBlock(Me.GetType(), BtnExcluir, jsScript)
    Dim button As New Button()
    button = CType(Page.FindControl(BtnExcluir), Button)
    button.Attributes.Add(onclick, return confirmDelete (this.form);)
     
     
     
    Um abraço,
    Tiago Nogueira
     

  • RELEVANCY SCORE 2.83

    DB:2.83:Re: 11.2.0.3 Impdp Table_Exist_Action Question cs


    Hi Dean,

    Your comments do make sense to me and cleared my mind.

    My thoughts all got stuck on the default param. value comparison between:
    legacy imp ignore=N and impdp table_exist_action=skip.

    Actually, ignore=N is to ignore create errors, YET table_exist_action is to control whether you'd like to impdp the table.

    :-D

    Is there any impdp param that acts like ignore -- which controls the create errors?

    Thank you for your quick help!

    Joy

    DB:2.83:Re: 11.2.0.3 Impdp Table_Exist_Action Question cs

    Dean,

    I just did. Thank you.

    Sorry -- I haven't get on the forum often in the past and need to learn how it works. :-)

    Thanks,
    Joy

  • RELEVANCY SCORE 2.83

    DB:2.83:[Vmware.Vimautomation.Client20.Datastoreimpl] 77



    can anyone tell my what this line http://VMware.VimAutomation.Client20.DatastoreImpl (ignore http: part, forum keeps adding that) or similar is when i see it in a script (usually when a param is passed to function or something like that)

  • RELEVANCY SCORE 2.80

    DB:2.80:How Can I Ignore Upper And Lower Case In Where Condition c8


    in The Below Function
    public IQueryableClub GetClubs()
    {
    return this.ObjectContext.Clubs.Where(c=c.ClubName==Milan);
    }

    in The Pre Function i want to select all related values and Ignore Case if there is Values like (milan, MILAN, Milan, mIlAn and MiLaN)
    SO How can i handle it

    DB:2.80:How Can I Ignore Upper And Lower Case In Where Condition c8

    Convert the two strings to lower or upper case like this: c = c.ClubName.ToLower() == Milan.ToLower()

  • RELEVANCY SCORE 2.76

    DB:2.76:Copy-N-Pasting Text Into Prompt Window ac


    Hi,
    Per subject titles, we have a javascript that used to work in InDesign CS4 with copy-n-pasting enable, recently, we noticed copy-n-pasting doesnt work anymore in CS5-CS6 when the prompt windows pops up. The script itself still runs fine but without the ability to copy-n-paste text, it does slow us down a bit. We did noticed if the copy and paste is done via Edit menu then the prompt window will accept the pasting and continues to ignore anything else copied from desktop and elsewhere. Did Adobe break something with CS5 and up? Does anyone have similar problem or has a solution? Is it a preference setting thing we need to changed?

    Thanks!

    DB:2.76:Copy-N-Pasting Text Into Prompt Window ac


    Thank you. At least, there is a solution for it and it's good to know script is not broken.

    I'm wondering why Adobe has to break this function though when it's perfect in CS4.

  • RELEVANCY SCORE 2.75

    DB:2.75:Need Help On Using Settimer() 31


    Hello,I am writing code in VC++ console application where I need a functions similar to alarm()/signal() in Linux.I tried to use setTimer() but i was not able to make similar functinality as my callback function was not called after timer expired.Ex :In main function :

    int main(){    int i;    id = SetTimer(NULL, 1, runTime, (TIMERPROC) callback);     for (i = 0; i 100; i++)  {        printf(%d\n, i);    }    }CALLBACK callback(args) {  printf(Caught timer\n);  exit(0);}here i am expecting for loop must print some numbers untill timer expires and exits dircetly from callback function, but call back function never getting called.Even i tried with GetMessage DispatchMessage, using this callback function triggered but it did not print numbers as GetMessages was in waiting till the timer expired.
     
    int main(){     int i;    id = SetTimer(NULL, 1, runTime, (TIMERPROC) callback);     while (GetMessage(msg, NULL, 0, 0) != -1) {            DispatchMessage(msg);    }       for (i = 0; i 100; i++)  {        printf(%d\n, i);    } }CALLBACK callback(args) {  printf(Caught timer\n);  exit(0);}Please help me regarding this, where should i keep the GetMessage code, I need this must work similar to alarm()/signal() of Linux.Thanks in advance,San
     

    Ex :

  • RELEVANCY SCORE 2.75

    DB:2.75:Need Help To Create An Udf a1



    Hi experts,

    Please help me in creating an UDF. Below is the requirement.

    Source

    ---Orders...................1-n

    -----Header.................1-1

    -------PONo.................1-1

    -----Item...................1-n

    -------Charecterestics......1-n

    -----------ObjectNo

    -----------ObjectType

    -----------Groupcode

    -----------CharDesc

    -----------CharVal

    -----------NumVal

    :

    :

    etc

    Target field will occur for every Orders.

    Requirement is for all "Charecterestics"(will come 'n' times) check if "ObjectNo" matches with "PONo" (1 occurrence for each "Orders" but n number of "Orders" can come), if matches then check if value present in "CharVal" take the value else take value from "NumVal". If "ObjectNo" does not matches with "PONo" ignore that "Charecterestics".

    Either of CharVal or NumVal will have value.

    I tried with graphical mapping and it worked but the problem is, there are similar logic with different fields which are huge in number and for that I need a UDF which can be used everywhere.

    Please help me out.

    DB:2.75:Need Help To Create An Udf a1


    Hi,

    Unless you share the target structure and field level logic, it will be difficult to imagine a solution.

    Ambrish

  • RELEVANCY SCORE 2.75

    DB:2.75:Re: Group By Contiguous Values fk


    Hello,
    many thanks for your very prompt reply but i'd like to use Nicolas idea but i'm unable to try it:

    the subquery works but as i try the full select, i get the follwing error :

    SQL select distinct hire,
    2 last_value(prev ignore nulls) over (order by dtfrom) dtfrom,
    3 first_value(next ignore nulls) over (order by dtfrom rows betwee
    n current row and unbounded following) dtto
    4 from (select hire, dtfrom,
    5 case when lag(hire) over (order by dtfrom)=hire then nul
    l else dtfrom end prev,
    6 case when lead(hire) over (order by dtfrom)=hire then nu
    ll else dtto end next
    7 from test)
    8 order by dtfrom;
    last_value(prev ignore nulls) over (order by dtfrom) dtfrom,
    *
    ERROR at line 2:
    ORA-00907: missing right parenthesis

    any idea ? i don't know the function last_value; i'm reading about it but i don't find the solution ...

    Brgds
    Stefano

    DB:2.75:Re: Group By Contiguous Values fk

    "Tabibitozan" and "Tabibito" is Japanese language ;-)
    purhaps
    in english, "Tabibito" means "traveler".

    select hire,min(dtfrom),max(dtto)
    from (select dtfrom,dtto,hire,
    Row_Number() over(order by dtfrom)
    -Row_Number() over(partition by hire order by dtfrom) as distance
    from test)
    group by hire,distance
    order by min(dtfrom);

    HIRE MIN(DTFR MAX(DTTO
    ----- -------- --------
    10000 08-01-01 08-02-01
    11000 08-02-01 08-04-01
    12000 08-04-01 08-05-01
    13000 08-05-01 08-06-01
    11000 08-06-01 08-08-01I explained "Tabibitozan" in below.
    Group by preserving the order

  • RELEVANCY SCORE 2.73

    DB:2.73:Error In Importing Sapkw70014 px



    Hi

    We are trying to import SAPKW70011-SAPKW10014, and it gives us a return

    code of 8 in TEST_IMPORT phase , while trying to import SAPKW10014.

    On further analysis: it shows us the following:

    Function RSDDTREX_INDEX_CHECK (RSDDTREX_CHECK|01) does not fit into the existing function group ((RSDDTREX|06)).

    We are in the test mode setting, right now, so we can reset the queue.

    We checked the Note 822379 - Known problems with Support Packages in

    SAP NW 2004s AS ABAP , but it does not mention anything like this,

    although there are a few of them similar to the one we are facing,

    where it mentions to do:

    'Extras'- 'Ignore test-import error' from SPAM.

    Has anyone seen anything like that? Did anyone face any problems while applying this support pack.??

    Thanks

    Abhi

    DB:2.73:Error In Importing Sapkw70014 px


    Heya

    I had exactly the same issue and the only to resolve was to do 13 and 14 seperate.

    Thanks

    Benji

  • RELEVANCY SCORE 2.73

    DB:2.73:Avoid Using Eof Of Istream In C++ j8


    I'm trying to avoid using eof of istream in my code which suppose to process textual files.The
    following code trying to read line by line, however with each step the code read two lines instead of one. apparently getline function is executed twice, and the data is read to the buf first before being processed by strtok_s function. if I'm going to ignore
    the internal getline instruction how can I write data into buf[] to be processed?
    while (getline(fin, line))
    //while(!fin.eof())
    {
    // read an entire line into memory
    char buf[MAX_CHARS_PER_LINE];
    fin.getline(buf, MAX_CHARS_PER_LINE);

    // parse the line into blank-delimited tokens
    int n = 0; // a for-loop index
    int s = 0;
    // array to store memory addresses of the tokens in buf
    const char* token[MAX_TOKENS_PER_LINE] = {}; // initialize to 0
    char *next_token;
    // parse the line
    token[0] = strtok_s(buf, DELIMITER, next_token); // first token
    if (token[0]) // zero if line is blank
    {
    for (n = 1; n MAX_TOKENS_PER_LINE; n)
    {
    token[n] = strtok_s(0, DELIMITER, next_token);

    if (!token[n]) break; // no more tokens
    }
    }

    // process (print) the tokens
    for (int i = 0; i n; i) // n = #of tokens
    cout Token[ i ] = token[i] endl;
    cout endl;
    }

    fin.clear();
    fin.close();

    DB:2.73:Avoid Using Eof Of Istream In C++ j8

    By the way, having STL, you can try different (easier, more reliable) ways. For example, tokenizing can be done with
    find functions and substrings can be stored in a vector of
    strings:
    http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/196e3420-1402-4ad8-82fe-068e5bcc9e29.

  • RELEVANCY SCORE 2.73

    DB:2.73:Return A Textpointer To An Arbitrary Character Position N? af


    Hi,
    I would like to return the TextPointer to an arbitrary (nth) character position (including whitespace) of RichTextBox XAML.   Example:
    Given Mary had a little lamb.  I would like to return a text pointer corresponding to the letter position 8, (in this case, I would get a TextPointer for the insertion point just before the letter 'd' in 'had'). This would need to ignore any formatting elements and other UI elements in the xml anywhere in the text.
     I think this would be similar to the method
    TextPointer..::.GetPositionAtOffset()
    but which ignores all symbols other than character data (recalling that GetPositionAtOffset includes all symbols, not only text).
      Performance: I realize that I could write a function which moves a TextPointer one position at a time and inspects what type of symbol is found at each spot and stops when it gets to the Nth character. But that seems very expensive. I am hoping there is a built in function which is more performant. (and I would really have thought this might be part of the System.Windows.Documents  API)
     thanks very much.

    DB:2.73:Return A Textpointer To An Arbitrary Character Position N? af

    Unfortunatly no there is no such direct API. To obtain the N'th symbol you will have to either
    Advance N times using GetNextInsertionPosition() equivalent to pressing the left arrow N times in a RichTextBox
    or
    Advance using GetNextContextPosition and counting the number of characters in each Text context you encounter.
    --Ifeanyi Echeruo [MSFT]

  • RELEVANCY SCORE 2.70

    DB:2.70:Ignore N/As With Vba Countif 19


    Hi Everyone
    I have the following code which works great in Excel 2003 to a point but i need the Count If to ignore instances of N/A.
    Any ideas as to how i can achieve this?

    Public Function AVGIF(ByVal checkRange As Range, ByVal criteria As Variant, ByVal avgRange As Range) As Variant
    Application.Volatile False
    Dim sumIfResult As Double
    Dim countIfResult As Double
    sumIfResult = Application.WorksheetFunction.SumIf(checkRangerange, criteria, avgRange)
    countIfResult = Application.WorksheetFunction.CountIf(checkRange, criteria)
    If countIfResult = 0 Then
    AVGIF = 0

    Else

    AVGIF = sumIfResult / countIfResult

    End If

    End Function

    Thanks in advance

    DB:2.70:Ignore N/As With Vba Countif 19

    I don't understand the question because SumIf and CountIf will ignore errors.
    Given the following data in A1:B5, checkRange in a1:A5 and avgRange in B1:B5
    #DIV/0!, 1
    2, 2
    #N/A, 3
    2, 4
    4, 5
    Give say a couple of examples of criteria and expected results for your sumIfResult and countIfResult
    Peter Thornton

  • RELEVANCY SCORE 2.70

    DB:2.70:Custom Datagrid Sort 3d


    Hello,
    I have a datagrid that has a row that contains information
    similar to this: 1,2,3,4,T4,T4,5,6,..17,29,..43,T44,T44,45.. and so
    on.. I hope you get the idea.. if an element appears more than one
    time, it has a "T" at the beginning (this data is from a database
    and I have to display it in this way). I have to be able to sort
    this numerically (making the sort function somehow ignore that
    "T")... i know datagrid only sorts strings, but using a Listener
    and some other things ( check this out
    http://www.flash-creations.com/notes/servercomm_database.php
    ) I managed to make it sort numbers.
    However, the function doesn't work properly it some elements
    have that "T" at the beginning. Is there an elegant way to do this?
    (other than writing my own sorting function - maybe bubble sort -
    sorting the dataprovider and then repopulating the datalist with
    the sorted dataprovider)

    DB:2.70:Custom Datagrid Sort 3d

    Could you put the "T" in a different column or does it have
    to be in the same column as the number?

  • RELEVANCY SCORE 2.69

    DB:2.69:Function Pointers And Delegates f7


    I'm trying to build a managed wrapper in C++/CLI for an existing static library written in C.I have a class where a few callbacks are needed. In the static library you have a function called "set" which registers the callback. However I'm strugling with some managed vs. unmanaged type problems.Lets say you have a callback with the following prototype:void f1proc(char *szString, int nSomeOtherData);Since I want to use String ^ instead of char * in the managed class I think I need to do the following:1. Create a function with above prototype in my wrapper class.2. Expose another function (as a delegate) which has similar prototype but use String ^ instead.3. Have users use the new delegate.4. When callback is called from the static library it should call my "old" function pointer which is wrapped inside the class which will then do the needed conversion (e.g. use gcnew String(...)) and then call the managed delegate.Does this make sense? If so would anyone be kind to post an example. I'm having some compilation problems because I'm a little unsure how to specify it using the C++/CLI syntax.One problem is to create a callback function inside a ref class. The function needs to use __stdcall calling convention but the compiler seems to ignore it and tells me I use __cdecl butshould use __clrcall instead.

    DB:2.69:Function Pointers And Delegates f7

    I am new to .Net so not sure whether I am correct...
    I had the same scenario to use my existing static library from .Net applications, and this library needs to send back updates periodically to the application. The static library receives a call back function from the client to notify the application.
    The below is what I tried and it works!
    I created a c++ .Net class library and created a gc class like below. this internally calls the unmanaged classed in static library, and whenever it needs to notify the client it uses cbPrice which is provided by the client.
    namespace PriceClientDotNet{public __gc class DataPrice{public:String *subject;long bid;long ask;};
    public __delegate void PriceNoti(DataPrice *pPrice);
    public __gc class PriceClient{public:void NotifyPriceUpdate(PriceNoti *cbPrice){DataPrice *p = new DataPrice();p-subject = "test"; cbPrice(p);}};}
    and the below is the client application...
    private void button1_Click(object sender, System.EventArgs e){PriceClientDotNet.PriceClient cl = new PriceClientDotNet.PriceClient();
    PriceClientDotNet.PriceNoti cbP = new PriceClientDotNet.PriceNoti(OnPriceUpdate);cl.NotifyPriceUpdate(cbP);}
    public void OnPriceUpdate(PriceClientDotNet.DataPrice pPrice){}
    may be this can help some one new to .Net !!!

  • RELEVANCY SCORE 2.69

    DB:2.69:[Vb 2008] Ignore Capital And Non-Capital Letters In String.Contains 7x


    Hi, I use for example:
    Dim S As String = TextBox1.Text
    if(S.Contains(BlaBla) Then
    ' ..
    End If
    But when I use blabla in my textbox it doesn't work.. How Can I ignore the capital letter or non-capital letter function? Regards,

  • RELEVANCY SCORE 2.69

    DB:2.69:Re: Rib: Control Message To Be Published fs


    Hi,

    In the publisher (GETNEXT) You can write a function which login to RIBAQ schema and check the count in corresponding Queue table.(ET*TABLE). If the count is more that 100 GETNEXT should return N otherwise it should process the message.

    We can think about many similar approaches.

    Regards,
    PPS

    DB:2.69:Re: Rib: Control Message To Be Published fs

    Hi Nassem,

    The process explained by you is normal. All RiB Support guys follow these steps. It is easier this way.

    Only other option is to use RIHA which is meant for these activities but unfortunate, no one use that tool :)

    Regards,
    PPS

  • RELEVANCY SCORE 2.69

    DB:2.69:Why Does This Regex Expression Hang My Computer? aa


    Hi folks,i have the following regex expression (which another developer created at some previous point of time) and it's hanging the process .. like it's locked in some endless loop. It's really weird (and killing our application). The hang happens on line #11, when it calls the COUNT method. 

    1
    [TestMethod()]  

    2
    public void RegExCrap()  

    3
    {  

    4
        string content = We have lived on this street for several years now and we love it so much. We are close to everything.... shopping at the boutiques in Montclair, Willowbrook and Short Hills Mall,   every kind of food delivery known to man is available here. The NYC direct train to Penn Station (a mere 22 minute ride) is only 6 blocks away and there is also free jitney service. The town is green and lush with gas lamps lining the street. There are tons of activities to get involved in and living on Hawthorne puts you in the middle of everything. The park at Carteret is close by. The Freeman Rose Garden is on Hawthorne. The High school, Middle school and Linden Ave Elementary are all within walking distance and Linden Ave elementary is even on the corner of Hawthorne. If you are reading this it is probably because you don't already know how great it is to live in Glen Ridge... but let me tell you it is the best place I've ever lived. I've made great, funny, dependable  friends here and I love this town and the street I live on. It is quiet and charming. I see people always walking thier dogs, riding bikes, pushing the baby in a stroller. You can always catch up on the playground after drop off or pick up. I have found that when I was in a pinch with a sick child or just needed 3 eggs to finish those birthday cupcakes there have been many neighbors who are there to help out. The street is very safe...and so is the town as a whole... and because of the presence of the school we see the police patrol many times per day. People with dogs are very respectful to scoop as they walk and the dogs are always leashed. The town population is very educated and have many diverse careers. We have TV executives, investment bankers, published authors, soap opera actors, stay-at-home-moms, pharma scientists, artists, small business owners, police and everything inbetween...I love my street. I love this town and it is very welcoming. I will stay forever if I can!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n;  

    5
     

    6
        // Switch out periods within numeric values that appear to be valid domain names  

    7
        Regex regex = new Regex(@[^\.\da-zA-Z\-\?\\=]{1,}[^\.\d\?\\=]*([\d]*\.[\d]{1,}([\.][\d]{1,})*)[^\.a-zA-Z\-],   

    8
            RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.IgnorePatternWhitespace | RegexOptions.Compiled);  

    9
        MatchCollection matchCollection = regex.Matches(content);  

    10
     

    11
        int count = matchCollection.Count;  

    12

    DB:2.69:Why Does This Regex Expression Hang My Computer? aa

    Yes my code can be used, if nothing else as a starting point for what you need to do. I surmise there are other rules which need to be applied and the pattern expanded, but go for it and learn in the process. If you haven't already, grab some example text and run it in a regex editor, I recommend Expresso 3.0 which will save alot of time as you refine your regex pattern. Good luck/HTH and post back with any problems.William Wegerson (www.OmegaCoder.Com)

  • RELEVANCY SCORE 2.68

    DB:2.68:Fim Suggestion Box: Allow Attribute Clearing Through Sync Rules jk


    A common requirement is a need to clear or actually delete an attribute using an outbound sync rule. An example isduring off-boarding where some cleanup of the AD objects is required, such as, removing the manager attribute. The null() function is
    essentially a no op within the function evaluator and does not clear an attribute, however, is useful for other reasons to ignore the else in an IIF clause.
    A workaround has been to create a new attribute in the FIM schema called nullDN, bind it to the person object, add it through the Metaverse Designerto the person object in the old ILM UI, and flow nullDN to managerin the off-boarding sync rule
    in FIM. During an export to AD, the manager attribute is actually cleared. Attributes would be required for each attribute type for this workaround...nullDN, nullString, nullInteger. Either something similar or a new function in the sync rule function evaluator
    would be useful.
    Another function for the evaluator as a nice to have would be a Now() function that we could use as a timestamp on any custom attributes. There is a DateTimeFormat function to reformat existing date values during synchronization, however, it would be useful
    to setthe existingdate during an outbound flow that could be picked up by subsequent processes.

    DB:2.68:Fim Suggestion Box: Allow Attribute Clearing Through Sync Rules jk

    I handle the sometimes null rule in classic attribute flows by allowing the export of nulls, and figuring out the state in extension code, throwing DeclineMappingException whenever the data do not prescribe null. I.e., sometimes I don't know what
    the value is supposed to be, but can't authoritatively delete whatever is already there.

  • RELEVANCY SCORE 2.67

    DB:2.67:Inbound Email Issue fc



    Hi All,We have few Inbound email actions defined and data of email body is being set to few journal fields.But we are noticing a issue if email body has characters like ' etc Service now is showing # 8 2 1 1 (ignore space) and similar numbers .which are basically Html entity code.So is there a way/property/function to show actual symbol on journal field instead of showing # 82 1 1 (ignore space) , # 8 2 1 6(ignore space)etc.Kind regards,Ankush

    DB:2.67:Inbound Email Issue fc


    Hi, I tried testing this behavior on our DEV instance. I found that I could not reproduce the problem you describe. You may discover that the email body itself actually contained the html entity code already, and not that Service-Now converted it on the way in to the database.In this case, you may want to convert certain html strings in the body text back into plain text before it gets put into the journal field. You could do that in the inbound action. There may even be some ready-to-go regex conversion strings out there somewhere (I didn't check).So for example, the following regex will replace the html em-dash ($ # 8 2 1 1 ; is the dash, not the space):

    var str2 = str.replace(//g,'-');

  • RELEVANCY SCORE 2.67

    DB:2.67:I Miss My Ignore List! m3



    Anyone discovered how to add someone to an ignore list?

    Not to say that everyone who has posted so far isn't wonderful but just in case some of the those other people, the troll types, start posting here...please tell me someone found out there is an ignore function for these new forums.




    Ignoring cliques and the mainstream since high school.

    DB:2.67:I Miss My Ignore List! m3


    No, yes, eh, unlikely, true, and bummer.




    http://dariasafterthoughts.blogspot.com
    So liek I got banned. Bummer.

  • RELEVANCY SCORE 2.66

    DB:2.66:Jquery Slider Problems Need Help With Css Part zk



    I am building a website with the jquery slider and for some reason it is entering the amount of pics in the slider below the slider and I can't figure out how to get rid of it. It appears in Live Mode and when you view in in any browser. Here is the code that I have been using.

    Thanks,

    Dan

    HTML Source Code:

    !DOCTYPE HTML

    html

    head

    meta charset="utf-8"

    titleUntitled Document/title

    link rel="stylesheet" href="css/style.css" media="all" type="text/css"

    script src="js/modernizr.js"/script

    !-- jQuery --

    script src="js/jquery.min.js"/script

    scriptwindow.jQuery || document.write('script src="js/libs/jquery-1.7.min.js"\x3C/script')/script

    !-- FlexSlider --

    script defer src="js/jquery.flexslider.js"/script

    script type="text/javascript"

    $(function(){

    SyntaxHighlighter.all();

    });

    $(window).load(function(){

    $('.flexslider').flexslider({

    animation: "slide",

    start: function(slider){

    $('body').removeClass('loading');

    }

    });

    });

    /script

    /head

    body

    section class="slider"

    div class="flexslider"

    div class="flex-viewport" style="overflow: hidden; position: relative;"

    ul class="slides" style="width: 1200%; -webkit-transition: 0.6s; transition: 0.6s; -webkit-transform: translate3d(-5032px, 0, 0);"

    li class="clone" style="width: 1258px; float: left; display: block;"

    img src="images/1.jpg"

    /li

    li style="width: 1258px; float: left; display: block;" class=""

    img src="images/2.jpg"

    /li

    li class="" style="width: 1258px; float: left; display: block;"

    img src="images/3.jpg"

    /li

    li class="" style="width: 1258px; float: left; display: block;"

    img src="images/1.jpg"

    /li

    li style="width: 1258px; float: left; display: block;" class="flex-active-slide"

    img src="images/2.jpg"

    /li

    li style="width: 1258px; float: left; display: block;" class="clone"

    img src="images/3.jpg"

    /li/ul/div

    /div

    /section

    /body

    /html

    CSS Style:

    /*slider*/

    /* Browser Resets */

    .flex-container a:active,

    .flexslider a:active,

    .flex-container a:focus,

    .flexslider a:focus {outline: none;}

    .slides,

    .flex-control-nav,

    .flex-direction-nav {margin: 0; padding: 0; list-style: none;}

    /* FlexSlider Necessary Styles

    *********************************/

    .flexslider {margin: 0; padding: 0;}

    .flexslider .slides li { display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */

    .flexslider .slides img {width: 100%; display: block;}

    .flex-pauseplay span {text-transform: capitalize;}

    /* Clearfix for the .slides element */

    .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}

    html[xmlns] .slides {display: block;}

    * html .slides {height: 1%;}

    /* No JavaScript Fallback */

    /* If you are not using another script, such as Modernizr, make sure you

    * include js that eliminates this class on page load */

    .no-js .slides li:first-child {display: block;}

    /* FlexSlider Default Theme

    *********************************/

    .flexslider {margin: 0 0 0px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}

    .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}

    .loading .flex-viewport {max-height: 300px;}

    .flexslider .slides {zoom: 1;}

    .carousel li {margin-right: 5px}

    Modernizr.js:

    /* Modernizr 2.0.6 (Custom Build) | MIT BSD */

    ;window.Modernizr=function(a,b,c){function D(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+o.join(c+" ")+c).split(" ");return C(d,b)}function C(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function B(a,b){return!!~(""+a).indexOf(b)}function A(a,b){return typeof a===b}function z(a,b){return y(n.join(a+";")+(b||""))}function y(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="mo dernizr",j=b.createElement(i),k=j.style,l,m=Object.prototype.toString,n=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),o="Webkit Moz O ms Khtml".split(" "),p={},q={},r={},s=[],t=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id= e?e[d]:i+(d+1),k.appendChild(j);f=["shy;","style",a,"/style"].join(""),k.id=i,k.inner HTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},u=function(b){if( a.matchMedia)return matchMedia(b).matches;var c;t("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position==" absolute"});return c},v,w={}.hasOwnProperty,x;!A(w,c)!A(w.call,c)?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in aA(a.constructor.prototype[b],c)},p.rgba=function(){y("background-color:rgba(150,255,15 0,.5)");return B(k.backgroundColor,"rgba")},p.boxshadow=function(){return D("boxShadow")},p.csstransitions=function(){return D("transitionProperty")};for(var E in p)x(p,E)(v=E.toLowerCase(),e[v]=p[E](),s.push((e[v]?"":"no-")+v));e.addTest=function(a, b){if(typeof a=="object")for(var d in a)x(a,d)e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return;b=typeof b=="boolean"?b:!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},y(""),j=l=null,a.attachEventfunction(){var a=b.createElement("div");a.innerHTML="elem/elem";return a.childNodes.length!==1}()function(a,b){function s(a){var b=-1;while(++bg)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption| figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e .split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragmen t(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style" ),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++ef){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b) h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$ 1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++ag){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++ed)c[e].className.indexOf("iepp_" )0(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerH TML=r.innerHTML.replace(i,"$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.par seCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML=" ",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet .cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.clas sName="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafte rprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=n,e._domPrefixes=o,e.mq=u,e.testPro p=function(a){return C([a])},e.testAllProps=D,e.testStyles=t,g.className=g.className.replace(/\bno-js\b/,"")+( f?" js "+s.join(" "):"");return e}(this,this.document),function(a,b){function u(){r(!0)}a.respond={},respond.update=function(){},respond.mediaQueriesSupported=b;if(!b) {var c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head" )[0]||d,k=j.getElementsByTagName("link"),l=[],m=function(){var b=k,c=b.length,d=0,e,f,g,i;for(;dc;d++)e=b[d],f=e.href,g=e.media,i=e.rele.rel.toLowerC ase()==="stylesheet",!!fi!h[f](!/^([a-zA-Z]+?:(\/\/)?(www\.)?)/.test(f)||f.replace(R egExp.$1,"").split("/")[0]===a.location.host?l.push({href:f,media:g}):h[f]=!0);n()},n=func tion(){if(l.length){var a=l.shift();s(a.href,function(b){o(b,a.href,a.media),h[a.href]=!0,n()})}},o=function(a,b, c){var d=a.match(/@media[^\{]+\{([^\{\}]+\{[^\}\{]+\})+/gi),g=dd.length||0,b=b.substring(0,b.l astIndexOf("/")),h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!gc,j=0,k,l,m, n,o;b.length(b+="/"),i(g=1);for(;jg;j++){k=0,i?(l=c,f.push(h(a))):(l=d[j].match(/@med ia ([^\{]+)\{([\S\s]+?)$/)RegExp.$1,f.push(RegExp.$2h(RegExp.$2))),n=l.split(","),o=n.le ngth;for(;ko;k++)m=n[k],e.push({media:m.match(/(only\s+)?([a-zA-Z]+)(\sand)?/)RegExp.$2 ,rules:f.length-1,minw:m.match(/\(min\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)parseFloat(Reg Exp.$1),maxw:m.match(/\(max\-width:[\s]*([\s]*[0-9]+)px[\s]*\)/)parseFloat(RegExp.$1)})} r()},p,q,r=function(a){var b="clientWidth",h=d[b],l=c.compatMode==="CSS1Compat"h||c.body[b]||h,m={},n=c.createDocu mentFragment(),o=k[k.length-1],s=(new Date).getTime();if(aps-pi)clearTimeout(q),q=setTimeout(r,i);else{p=s;for(var t in e){var u=e[t];if(!u.minw!u.maxw||(!u.minw||u.minwl=u.minw)(!u.maxw||u.maxwl=u.maxw))m[ u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]g[t].parentNode===jj.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.s tyleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insert Before(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4(c.stat us==200||c.status==304)b(c.responseText)};if(c.readyState==4)return;c.send()}},t=functio n(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachE venta.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s!(a=p[b].r))break;ag()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!dk(c. readyState)(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.er rorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e(w|| r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.co de==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)}; e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.ec.onload();m(function(){d||(d=1,j ())},H.errorTimeout),!a.en.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!ok(l.readyState)(r.r=o=1,!qj(),l.onload=l.onreadystatechange=null,m(function() {u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s(l.style.display="none"),l.wi dth=l.height="0",a!="object"(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerro r=i:a=="script"(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s? null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1 g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p= [],q=0,r="MozAppearance"in l.style,s=r!!b.createRange().compareNode,t=r!s,u=s?l:n.parentNode,v=a.operao.call(a .opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||f unction(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0 ;he;h++)g=F[b[h]],g(f=g(f));for(h=0;hc;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split ("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS/css$/.test(i.url)?"c":c,i.noex ec),(D(b)||D(j))e.load(function(){d(),bb(i.origUrl,h,g),jj(i.origUrl,h,g)})}}functio n b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.completeb.load( a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;ga.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)b(h,i);else B(a)b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.erro rTimeout=1e4,b.readyState==nullb.addEventListener(b.readyState="loading",b.addEventLis tener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.read yState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnop e.apply(window,[].slice.call(arguments,0))};

    jquery.min.js:

    /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license

    //@ sourceMappingURL=jquery.min.map

    */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c. slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\x A0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:([\w\W]+)[^]*|#([\w-]*))$/,C=/^(\w+)\s*\/?(?:\/\1|)$ /,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^ "\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L =function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.ready State)(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMConten tLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H), e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){ var i,a;if(!e)return this;if("string"==typeof e){if(i=""===e.charAt(0)""===e.charAt(e.length-1)e.length=3?[null,e,null]:N.exec(e ),!i||!i[1]n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n =n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],nn.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1 ])b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),aa.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.sele ctor!==t(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector :"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0e?t:0);return this.pushStack(n=0tn?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init. prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u(s=this,--u);lu;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r(cr(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=eb.isAr ray(e)?e:[]):a=eb.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b(e.$=u),te.jQuery===b(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:functi on(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){ if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0--b.readyWait0||(n.resolveWith(o,[b]),b.fn.trig gerb(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.typ e(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){r eturn null!=ee==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))isFinite(e)},typ e:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))retur n!1;try{if(e.constructor!y.call(e,"constructor")!y.call(e.constructor.prototype,"isPro totypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),ib(i).remove(),b.merge([],r.child Nodes))},parseJSON:function(n){return e.JSONe.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n(n=b.trim(n),nk.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("retur n "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return rr.documentElement!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){tb.trim(t)(e.execScript||function(t) {e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeNamee.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;oi;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;oi;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0n?Math.max(0,r+n):n:0;rn;n++)if(n in tt[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;ro;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;ao;o++)r=!!t(e[o],o),n!==ri.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;oi;i++)r=t(e[i],i,n),null!=r(s[s.length]=r);els e for(i in e)r=t(e[i],i,n),null!=r(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access :function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t(o=!0,b.isFunction(i)||(s=!0),c(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n) {return c.call(b(e),n)})),n))for(;lu;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.rea dyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("loa d",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElemento.documentElement}catch(i){}rr.doScrollfunction a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeTypet?!0:"array"===n||"function"!==n(0===t||"number"==type of tt0t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeo f e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once[],c=function(t){for(r=e.memoryt,i=!0,a=s||0,s=0,o=u.length ,n=!0;uoa;a++)if(u[a].apply(t[0],t[1])===!1e.stopOnFalse){r=!1;break}n=!1,u(l?l.len gthc(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.uniquep.has(n)||u.push(n):nn.length"string"!==ri(n)} )})(arguments),n?o=u.length:r(s=t,c(r))}return this},remove:function(){return ub.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))-1)u.splice(r,1),n(o=ro--,a=ra--)}),this},has:functi on(e){return e?b.inArray(e,u)-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i!l||(n?l.push(t):c(t)),this},fire:function(){ret urn p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:fu nction(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])e[t];i[o[1]](function(){var e=ss.apply(this,arguments);eb.isFunction(e.promise)?e.promise().done(n.resolve).fail( n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e= null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,sa.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[ 0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i), ee.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||eb.isFunction(e.promise)?r:0,o=1===i?e:b.De ferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length1?h.call(arguments):r,n===s?o.notifyWith(t,n) :--i||o.resolveWith(t,n)}},s,u,l;if(r1)for(s=Array(r),u=Array(r),l=Array(r);rt;t++)n[t] b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s) ):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHT ML=" link/table/tablea href='/a'a/ainput type='checkbox'/",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r| |!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")) ,a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={g etSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getE lementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,sty le:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacit y:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l .selected,enctype:!!o.createElement("form").enctype,html5Clone:":nav/:nav"!==o.createE lement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:! 0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,box SizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked, s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""), t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioVal ue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocume ntFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).clone Node(!0).lastChild.checked,d.attachEvent(d.attachEvent("onclick",function(){t.noCloneEve nt=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearClone Style="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing :content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u(n=o. createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;le ft:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="tabletrtd/t dtdt/td/tr/table",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;ma rgin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.dis play="none",t.reliableHiddenOffsets=p0===a[0].offsetHeight,d.innerHTML="",d.style.cssTex t="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding: 1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizin g=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle (t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"=== (e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")), r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px ",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline ;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML=" div/div",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBl ockNeedsLayout(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();v ar O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]s;if(fp[f](i||p[f].data)||!u||r!==t)retur n f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==ty peof n||"function"==typeof n)(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data= {}),o=o.data),r!==t(o[b.camelCase(n)]=r),u?(a=o[n],null==a(a=o[b.camelCase(n)])):a=o,a }}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t(o=n?s[u]:s[u] .data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;ir;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,"") ,noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:f unction(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType1!==e.nodeType9!==e.nodeType)return!1; var t=e.nodeNameb.noData[e.nodeName.toLowerCase()];return!t||t!==!0e.getAttribute("classi d")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length(s=b.data(o),1===o.nodeType!b._data( o,"parsedAttrs"))){for(r=o.attributes;r.lengtha;a++)i=r[a].name,i.indexOf("data-")||(i=b. camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,argum ents.length1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON( r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))"toJSON"!==t)return!1;return!0}b.extend({queue :function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)): i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};" inprogress"===i(i=n.shift(),r--),o.cur=i,i("fx"===tn.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!roo.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend( {queue:function(e,n){var r=2;return"string"!=typeof e(n=e,e="fx",r--),rarguments.length?b.queue(this[0],e):n===t?this:this.each(function() {var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e"inprogress"!==t[0]b.dequeue(this,e )})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string "!=typeof e(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),rr.empty(i++,r.empty. add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/ i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|mul tiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttr ibute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof ee;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"" ).match(w)||[];sa;a++)if(n=this[a],r=1===n.nodeType(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0r.indexOf(" "+i+" ")(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof ee;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e| |"").match(w)||[];sa;a++)if(n=this[a],r=1===n.nodeType(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t) ,t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":" removeClass"](o)}else(n===i||"boolean"===n)(this.classNameb._data(this,"__className__" ,this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||" ")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;rn;n++)if(1===this[n].nodeType(" "+this[n].className+" ").replace(X," ").indexOf(t)=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeo f o?o+="":b.isArray(o)(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r"s et"in rr.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r"get"in r(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0i,a=o?null:[],s=o?i+1:r.leng th,u=0i?s:o?i:0;for(;su;u++)if(n=r[u],!(!n.selectedu!==i||(b.support.optDisabled?n.dis abled:null!==n.getAttribute("disabled"))||n.parentNode.disabledb.nodeName(n.parentNode," optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)=0}),n.lengt h||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e3!==u8!==u2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a(n=n.toLowerCase(),o=b.attrH ooks[n]||(J.test(n)?z:I)),r===t?oa"get"in onull!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i(s=e.getAttribute(n)),null==s?t:s):null!==r?oa"set"in o(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:f unction(e,t){var n,r,i=0,o=tt.match(w);if(o1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?! QG.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute (Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue"radio"===tb.nodeN ame(e,"input")){var n=e.value;return e.setAttribute("type",t),n(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"read Only","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing", cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder: "frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e3!==s8!==s2!==s)return a=1!==s||!b.isXMLDoc(e),a(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o"set"in o(i=o.set(e,r,n))!==t?i:e[n]=r:o"get"in onull!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return nn.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)e.href?0:t}}} }),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof re.getAttribute(n),o="boolean"==typeof r?KQ?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return oo.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):KQ||!G.test(n)?e.setAttribute(!Qb.propFix[n]||n,n):e[b.camel Case("default-"+n)]=e[n]=!0,n}},KQ||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:rr.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):II.set(e,n,r)}}),Q||(I=b.valHooks.button={ge t:function(e,n){var r=e.getAttributeNode(n);return r("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function( e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n= ==e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set (e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attr Hooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hr efNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.exten d(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){retu rn e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks .selected,{get:function(e){var t=e.parentNode;return t(t.selectedIndex,t.parentNodet.parentNode.selectedIndex),null}})),b.support.enctype| |(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){ b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b. valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focu sinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler(c=r,r=c.handler,a=c.selector),r.guid ||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){re turn typeof b===i||eb.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e ),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||""). split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.sp ecial[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsCo ntext:ab.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[], h.delegateCount=0,p.setupp.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListe ner(g,f,!1):e.attachEvente.attachEvent("on"+g,f))),p.add(p.add.call(e,d),d.handler.gui d||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]= !0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)b._data(e);if(m(c=m.events)){t=(t||"").match(w)|| [""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d ){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]RegExp("( ^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!ig!==a.origTyp e||nn.guid!==a.guid||s!s.test(a.namespace)||rr!==a.selector("**"!==r||!a.selector) ||(f.splice(o,1),a.selectorf.delegateCount--,p.removep.remove.call(e,a));u!f.length (p.teardownp.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.sp lit("."):[];if(l=f=i=i||o,3!==i.nodeType8!==i.nodeType!nt.test(g+b.event.triggered)( g.indexOf(".")=0(m=g.split("."),g=m.shift(),m.sort()),u=0g.indexOf(":")"on"+g,n=n[b. expando]?n:new b.Event(g,"object"==typeof nn),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+ m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b. makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a !p.noBubble!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l= l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)h.push(f.defaultView||f.parentWindow| |e)}d=0;while((l=h[d++])!n.isPropagationStopped())n.type=d1?c:p.bindType||g,s=(b._data( l,"events")||{})[n.type]b._data(l,"handle"),ss.apply(l,r),s=ul[u],sb.acceptData(l) s.applys.apply(l,r)===!1n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()|| p._defaultp._default.apply(i.ownerDocument,r)!==!1||"click"===gb.nodeName(i,"a")||!b.a cceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f(i[u]=null),b.event.triggered=g;try{i[g ]()}catch(v){}b.event.triggered=t,f(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.s pecial[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this ,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])!e.isPropagationStopped( )){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])!e.isImmediatePropagationStopped( ))(!e.namespace_re||e.namespace_re.test(i.namespace))(e.handleObj=i,e.data=i.data,r=((b. event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t(e.result=r)===!1 (e.preventDefault(),e.stopPropagation()))}return c.postDispatchc.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(ul.nodeType(!e.button||"click"!==e.type) )for(;l!=this;l=l.parentNode||this)if(1===l.nodeType(l.disabled!==!0||"click"!==e.type)) {for(o=[],a=0;ua;a++)i=n[a],r=i.selector+" ",o[r]===t(o[r]=i.needsContext?b(r,this).index(l)=0:b.find(r,this,null,[l]).length),o[ r]o.push(i);o.lengths.push({elem:l,handlers:o})}return n.lengthus.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])re turn e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:e t.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType(e.target=e.target.parentNode ),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"but ton buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageXnull!=n.clientX(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body ,e.pageX=n.clientX+(aa.scrollLeft||rr.scrollLeft||0)-(aa.clientLeft||rr.clientLeft ||0),e.pageY=n.clientY+(aa.scrollTop||rr.scrollTop||0)-(aa.clientTop||rr.clientTop ||0)),!e.relatedTargetu(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e .which=1s?1:2s?3:4s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){retu rn b.nodeName(this,"input")"checkbox"===this.typethis.click?(this.click(),!1):t}},focus: {trigger:function(){if(this!==o.activeElementthis.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElementthis.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunlo ad:{postDispatch:function(e){e.result!==t(e.originalEvent.returnValue=e.result)}}},simul ate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.d ispatch.call(t,i),i.isDefaultPrevented()n.preventDefault()}},b.removeEvent=o.removeEvent Listener?function(e,t,n){e.removeEventListenere.removeEventListener(t,n,!1)}:function(e, t,n){var r="on"+t;e.detachEvent(typeof e[r]===i(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(ee.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defau ltPrevented||e.returnValue===!1||e.getPreventDefaulte.getPreventDefault()?it:ot):this.ty pe=e,nb.extend(this,n),this.timeStamp=ee.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediat ePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e(e.preventDefault?e.preventDefault():e .returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e(e.stopPropagatione.stopPropagatio n(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationSto pped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},fun ction(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;

    return(!i||i!==r!b.contains(r,i))(e.type=o.origType,n=o.handler.apply(this,arguments), e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r!b._data(r,"submit Bubbles")(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"su bmitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble(delete e._submit_bubble,this.parentNode!e.isTriggerb.event.simulate("submit",this.parentNode ,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles ||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)(b.event.add(this," propertychange._change",function(e){"checked"===e.originalEvent.propertyName(this._just_ changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed!e.isTrigge r(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this," beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)!b._data(t,"changeBubbles")(b.event.add(t,"change._chang e",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",thi s.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type"checkbox"!==n.type?e.handleObj.h andler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.eac h({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={set up:function(){0===n++o.addEventListener(e,r,!0)},teardown:function(){0===--no.removeEv entListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==rnull==i?(i=n,r=n=t):null==i("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function( ){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(ee.preventDefaulte.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i .selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)(r=n,n=t),r===!1(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:func tion(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=131,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;nt;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w", "w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?) \\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\ \\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+" +$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f+~])"+_+"*"),z=Re gExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:Reg Exp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegEx p("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-typ e)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"), needsContext:RegExp("^"+_+"*[+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d) ?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\ d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x 20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0n?String.fromCharCode(n+65536):String.fromCharCode(55296|n10,56320|1023n)};t ry{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")i.cacheLengthdelete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==pc(t),t=t||p,n=n||[],!e||"string"!=ty peof e)return n;if(1!==(s=t.nodeType)9!==s)return[];if(!d!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if (o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument(o=t.ownerDocument.getElementById(a))y(t,o)o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])T.getByClassNamet.getElem entsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa!h.test(e)){if(f=!0,g=x,m=t, v=9===se,1===s"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g= f.replace(K,"\\$"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)t.parentNode||t,v=l.join(",")}if(v)tr y{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id") }}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p9===n.nodeTypen.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComme nts=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at( function(e){e.innerHTML="select/select";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t"string"!==t}),T.getByClassName =at(function(e){return e.innerHTML="div class='hidden e'/divdiv class='hidden'/div",e.getElementsByClassNamee.getElementsByClassName("e").length?(e. lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(func tion(e){e.id=x+0,e.innerHTML="a name='"+x+"'/adiv name='"+x+"'/div",f.insertBefore(e,f.firstChild);var t=n.getElementsByNamen.getElementsByName(x).length===2+n.getElementsByName(x+0).length; return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){retu rn e.innerHTML="a href='#'/a",e.firstChildtypeof e.firstChild.getAttribute!==A"#"===e.firstChild.getAttribute("href")})?{}:{href:functio n(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A!d){var n=t.getElementById(e);return nn.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==Ar.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=functio n(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==Ae.getAttributeNode("id");return nn.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeTyper.push( n);return r}return o},i.find.NAME=T.getByNamefunction(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassNamefunct ion(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=r t(n.querySelectorAll))(at(function(e){e.innerHTML="selectoption selected=''/option/select",e.querySelectorAll("[selected]").length||h.push("\\["+_+" *(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checke d").length||h.push(":checked")}),at(function(e){e.innerHTML="input type='hidden' i=''/",e.querySelectorAll("[i^='']").lengthh.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySe lectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h. push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitM atchesSelector||f.oMatchesSelector||f.msMatchesSelector))at(function(e){T.disconnectedMa tch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp( g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=tt.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition16e.c ompareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;ret urn!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPositione.compareDocumentPositione.compareDocument Position(t))?1r||e.parentNode11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)? 1:0:4r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while (s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},s t.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==pc(e),t=t .replace(Z,"='$1']"),!(!T.matchesSelector||d||gg.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length0},st.contains=function(e,t){return(e.ownerDocument||e)!==pc(e) ,y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==pc(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d| |T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))e[t]===!0? t:nn.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1](i=n.pus h(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=te,r=n(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===nt.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]](n[i]=!(r[i]=n[i]))})})}o=st.getText =function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{"":{dir:"par entNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},pr eFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2](e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e [6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]st.error(e [0]),e},PSEUDO:function(e){var t,n=!e[5]e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:nz.test(n)(t=ft(n,!0))(t=n.indexOf(")",n.le ngth-t)-n.length)(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:fu nction(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t) {return t.nodeNamet.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))k(e,function(e){return t.test(e.className||typeof e.getAttribute!==Ae.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n0===i.indexOf(n):"*="= ==t?ni.indexOf(n)-1:"$="===t?ni.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e, t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=st.nodeName.toLowe rCase(),v=!u!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1 ===p.nodeType)return!1;h=g="only"===e!h"nextSibling"}return!0}if(h=[a?m.firstChild:m.l astChild],av){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===Nl[1],f=l[0]===Nl[2],p=dm.chil dNodes[d];while(p=++dpp[g]||(f=d=0)||h.pop())if(1===p.nodeType++fp===t){c[e]=[N,d, f];break}}else if(v(l=(t[x]||(t[x]={}))[e])l[0]===N)f=l[1];else while(p=++dpp[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType) ++f(v((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%rf/r=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(functi on(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])(e[s]=!(t[s]=o))}):function(e,i,o){retu rn t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)-1}}),lang:ot(function(e) {return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)1===t.nodeType);ret urn!1}}),target:function(t){var n=e.locatione.location.hash;return nn.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement(!p.hasFocus||p.hasFocus())!!(e.type||e.href||~e.tabIndex)},enable d:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t!!e.checked||"option"===t!!e.selected},se lected:function(e){return e.parentNodee.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.first Child;e;e=e.nextSibling)if(e.nodeName"@"||3===e.nodeType||4===e.nodeType)return!1;return! 0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t"button"===e.type||"button"===t},text:funct ion(e){var t;return"input"===e.nodeName.toLowerCase()"text"===e.type(null==(t=e.getAttribute("ty pe"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){re turn[t-1]}),eq:pt(function(e,t,n){return[0n?n+t:n]}),even:pt(function(e,t){var n=0;for(;tn;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;tn;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0n?n+t:n;for(;--r=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0n?n+t:n;for(;t++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))(r(s=s.slice(r[0].l ength)||s),u.push(o=[])),n=!1,(r=I.exec(s))(n=r.shift(),o.push({value:n,type:r[0].replac e(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,match es:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;nt;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])l[0]===p){if((u=l[1])=== !0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;us;s++)(o=e[s])(!n||n(o,r,i))(a.push(o),lt.pu sh(s));return a}function yt(e,t,n,r,i,o){return r!r[x](r=yt(r)),i!i[x](i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!ot?g:mt(g,f,e,s,u ),y=n?i||(o?e:h||r)?[]:a:m;if(nn(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--) (p=l[c])(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c]) l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])(l=i?M.call(o,p):f[c])-1 (o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)-1},s,!0),f=[function(e,n,r){return!a(r||n!==l)||((t=n).nodeType?c(e,n,r):p (e,n,r))}];for(;ou;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u] .type].apply(null,e[u].matches),n[x]){for(r=++u;or;r++)if(i.relative[e[r].type])break;ret urn yt(u1gt(f),u1dt(e.slice(0,u-1)).replace(W,"$1"),n,ruvt(e.slice(u,r)),orvt(e=e .slice(r)),ordt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length0,a=e.length0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s[],w=null!=d,T=l,C=s||ai.find.TAG("*",du.parentNode||u),k=N +=null==T?1:Math.random()||.1;for(w(l=u!==pu,r=n);null!=(h=C[b]);b++){if(ah){g=0;whi le(m=e[g++])if(m(h,u,c)){f.push(h);break}w(N=k,r=++n)}o((h=!mh)v--,sx.push(h))}i f(v+=b,ob!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v0)while(b--)x[b]||y[b]||(y[b]=L. call(f));y=mt(y)}H.apply(f,y),w!sy.length0v+t.length1st.uniqueSort(f)}return w(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt( i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;ir;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r1===p.length){if(a=p[0]=p[0].slice(0),a.length2"ID"===(u=a[0] ).type9===t.nodeType!di.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et, tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a [o],i.relative[l=u.type])break;if((c=i.find[l])(r=c(u.matches[0].replace(et,tt),V.test(a [0].type)t.parentNode||t))){if(a.splice(o,1),e=r.lengthdt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=s t.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needs Context,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;it;t++)if(b.contains(r[t],this))ret urn!0}));for(n=[],t=0;it;t++)b.find(e,this[t],n);return n=this.pushStack(i1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;rt;t++)if(b.contains(this,n[t]))return!0})},not:function( e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])=0:b.filter(e,this).length0:this.filter(e) .length0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;ir;r++){n=this[r];while(nn.ownerDocumentn!==t11!==n. nodeType){if(a?a.index(n)-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}} return this.pushStack(o.length1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]this[0].parentNode?thi s.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(ee.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack; function pt(e,t){do e=e[t];while(e1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNode s)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r"string"==typeof r(i=b.filter(r,i)),i=this.length1!ct[e]?b.unique(i):i,this.length1st.test(e)(i= i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches (e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o9!==o.nodeType(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeTypee!==tn.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createEl ement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|he ader|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("(?:"+ht+")[\\s/]","i"),yt=/^\s+/,vt=/(?!area|br| col|embed|hr|img|input|link|meta|param)(([\w:]+)[^]*)\//gi,bt=/([\w:]+)/,xt=/tbody/i,w t=/|#?\w+;/,Tt=/(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^= ]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*!(?:\[CDATA\[| --)|(?:\]\]|--)\s*$/g,At={option:[1,"select multiple='multiple'","/select"],legend:[1,"fieldset","/fieldset"],area:[1,"map", "/map"],param:[1,"object","/object"],thead:[1,"table","/table"],tr:[2,"tablet body","/tbody/table"],col:[2,"tabletbody/tbodycolgroup","/colgroup/table" ],td:[3,"tabletbodytr","/tr/tbody/table"],_default:b.support.htmlSerialize?[0, "",""]:[1,"Xdiv","/div"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgro up=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({te xt:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]this[0].ownerDocument||o).createTextNode (e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNodet.insertBefore(this[0]), t.map(function(){var e=this;while(e.firstChild1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(funct ion(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNode s)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.n odeType)this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.n odeType)this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNodethis.parentNode.insertBefore(e,th is)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNodethis.parentNode.insertBefore(e,th is.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length0)(t||1!==n.nodeType||b.cl eanData(Ot(n)),n.parentNode(tb.contains(n.ownerDocument,n)Mt(Ot(n,"script")),n.paren tNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeTypeb.cleanData(Ot(e,!1));while(e.firstChil d)e.removeChild(e.firstChild);e.optionsb.nodeName(e,"select")(e.options.length=0)}retu rn this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerializemt.test(e)||!b.support.leadingWhitespaceyt.tes t(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"$1/$2");try{for(;i r;r++)n=this[r]||{},1===n.nodeType(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n(b(this).remove(),n.insertBefore(e,t))})},detach: function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1=p||"string "!=typeof g||b.support.checkClone)Ct.test(g))return this.each(function(i){var o=d.eq(i);m(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p(l=b.buildFragm ent(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length(l=i),i)){for (n=nb.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;pc;c++)o=l,c!==h(o=b.clo ne(o,!0,!0),ab.merge(s,Ot(o,"script"))),r.call(nb.nodeName(this[c],"table")?Lt(this[c] ,"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;ac;c++)o=s[ c],kt.test(o.type||"")!b._data(o,"globalEval")b.contains(u,o)(o.src?b.ajax({url:o.sr c,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.te xtContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(tt.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}func tion _t(e,t){if(1===t.nodeTypeb.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;ir;r++)b.event.add(t,n,s[n][r])}a.data(a.data=b.extend({},a.da ta))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEventt[b.expan do]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===nt.text!== e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode(t.outerHTML=e.outerHTML),b.s upport.html5Clonee.innerHTML!b.trim(t.innerHTML)(t.innerHTML=e.innerHTML)):"input"== =nNt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value(t.value=e.va lue)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea" ===n)(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",inse rtBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=func tion(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d. apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null !=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||nb.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.tes t(""+e.nodeName+"")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firs tChild)),!(b.support.noCloneEventb.support.noCloneChecked||1!==e.nodeType11!==e.nodeTy pe||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]Ft(i,r[a]);if(t)if(n)f or(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length0Mt(r,!uOt(e,"script")),r=s=i=null,o},buildFragment:functio n(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;ph;h++)if(o=e[h],o||0===o)if("object"===b .type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLo werCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"$1/$2")+c[2],i=c[0];whil e(i--)s=s.lastChild;if(!b.support.leadingWhitespaceyt.test(o)d.push(t.createTextNode(y t.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"table"!==c[1]||xt.test(o)?0: s:s.firstChild,i=oo.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")! l.childNodes.lengtho.removeChild(l)

    }b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s =f.lastChild}else d.push(t.createTextNode(o));sf.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"inp ut"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))(a=b.contains(o.ownerDocument,o) ,s=Ot(f.appendChild(o),"script"),aMt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")n.pu sh(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!= (n=e[s]);s++)if((t||b.acceptData(n))(o=n[u],a=ol[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o](delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,X t=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x +")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"a bsolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top ","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;sa;a++)r=e[a],r.style(o[a]=b._data(r,"olddisplay"),n=r. style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.displaynn(r)(o[a] =b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n"none"!==n||!i)b._data(r,"o lddisplay",i?n:b.css(r,"display"))));for(a=0;sa;a++)r=e[a],r.style(t"none"!==r.style. display""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;is;s++)a[n[s]]=b.css(e,n[s],!1,o);r eturn a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks :{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWei ght:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float": b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e3!==e.nodeType 8!==e.nodeTypee.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks [n]||b.cssHooks[u],r===t)return s"get"in s(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a(o=Jt.exec(r))(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(nul l==r||"number"===aisNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearClon eStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s"set"in s(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s"get"in s(a=s.get(e,!0,r)),a===t(a=Wt(e,n,i)),"normal"===an in Kt(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function( e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)Ut.test(n)(i=l. width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minW idth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==ull[n](u=l[n]),Yt.test(u)!zt.test(n)(i=l.left,o=e.runtimeStyle,a=oo.lef t,a(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left= i,a(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4o;o+=2)"margin"===n(a+=b.css( e,n+Zt[o],!0,i)),r?("content"===n(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n(a-=b. css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n(a+= b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing"border-bo x"===b.css(e,"boxSizing",!1,o);if(0=i||null==i){if(i=Wt(e,t,o),(0i||null==i)(i=e.style [t]),Yt.test(i))return i;r=a(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==nn||(Pt=(Pt||b("iframe frameborder='0' width='0' height='0'/").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument). document,t.write("!doctype htmlhtmlbody"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){r eturn r?0===e.offsetWidthXt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=rRt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}) ,b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((te.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegE xp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=rr.filter|| n.filter||"";n.zoom=1,(t=1||""===t)""===b.trim(o.replace($t,""))n.removeAttribute(n .removeAttribute("filter"),""===t||r!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function (e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition b.fn.positionb.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.exprb.expr.filters(b.exp r.filters.hidden=function(e){return 0=e.offsetWidth0=e.offsetHeight||!b.support.reliableHiddenOffsets"none"===(e.style e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.fi lters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+ t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input |select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name!b(this).is(":disabled")hn.test(this.nodeName)!dn.test(e)(this.checked|| !Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n ")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent( e)+"="+encodeURIComponent(t)};if(n===t(n=b.ajaxSettingsb.ajaxSettings.traditional),b.i sArray(e)||e.jquery!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});els e for(r in e)gn(r,e[r],n,o);return i.join("").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?])_=[^]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/ ^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,A n={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="", yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.sl ice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t((o[i]?e:r||(r={}))[i]=n[i]);return rb.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof eSn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u=0(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n"object"==typeo f n(a="POST"),s.length0b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){ o=arguments,s.html(i?b("div").append(b.parseHTML(e)).find(i):e)}).complete(rfunction(e ,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete ","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b .extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test( mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"respo nseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn( jn),ajax:function(e,n){"object"==typeof e(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context(f.nodeType||f.jquery)?b( f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader: function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase() ]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return ll.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fai l,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type| |p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p .crossDomain(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]r[2]===mn[ 2](r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.datap.process Data"string"!=typeof p.data(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u0===b.active++b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(), p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data(o=p.url+=(bn.test(o)?"":"?" )+p.data,delete p.data),p.cache===!1(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"":"?")+ "_="+vn++)),p.ifModified(b.lastModified[o]N.setRequestHeader("If-Modified-Since",b.las tModified[o]),b.etag[o]N.setRequestHeader("If-None-Match",b.etag[o])),(p.datap.hasCont entp.contentType!==!1||n.contentType)N.setRequestHeader("Content-Type",p.contentType), N.setRequestHeader("Accept",p.dataTypes[0]p.accepts[p.dataTypes[0]]?p.accepts[p.dataType s[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend(p.beforeSend.call(f,N,p)== =!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,ud.trigge r("ajaxSend",[N,p]),p.asyncp.timeout0(s=setTimeout(function(){N.abort("timeout")},p.t imeout));try{x=1,l.send(y,k)}catch(C){if(!(2x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x(x=2,sclearTimeout(s),l=t,a=i||"",N.readyState=e0?4:0,r(w=_n(p, N,r)),e=200300e||304===e?(p.ifModified(T=N.getResponseHeader("Last-Modified"),T(b. lastModified[o]=T),T=N.getResponseHeader("etag"),T(b.etag[o]=T)),204===e?(c=!0,C="nocont ent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,( e||!C)(C="error",0e(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N ]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,ud.trigger(c?"ajaxSuccess":"ajaxError",[N ,p,c?y:v]),g.fireWith(f,[N,C]),u(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.tri gger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t(o=e.mimeType||n.getResponseHeader("C ontent-Type"));if(o)for(s in u)if(u[s]u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter(t=e.dataFilter(t,e.dataTy pe)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==ll! ==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(ie["th rows"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t(e.cache=!1),e.cr ossDomain(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDom ain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement(" script"),n.async=!0,e.scriptCharset(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.on readystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))( n.onload=n.onreadystatechange=null,n.parentNoden.parentNode.removeChild(n),n=null,t||i(2 00,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){nn.onload(t,!0)}}}});va r On=[],Bn=/(=)\?(?=|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1(Bn.test(n.url)?"url":"string"==typeof n.data!(n.contentType||"").indexOf("application/x-www-form-urlencoded")Bn.test(n.data )"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallb ack():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1(n.url+=(bn.test(n.url) ?"":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(functio n(){e[o]=a,n[o](n.jsonpCallback=r.jsonpCallback,On.push(o)),sb.isFunction(a)a(s[0]), s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObjectfunction(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?functi on(){return!this.isLocalIn()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn"wit hCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rnb.ajaxTransport(function(n){if(!n.crossDomain||b.support.co rs){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.t ype,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeTypeu.overrideMimeTypeu.overrideMimeType(n.mime Type),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{f or(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContentn.data||null),r=function(e,i) {var s,l,c,p;try{if(r(i||4===u.readyState))if(r=t,a(u.onreadystatechange=b.noop,$ndelete Pn[a]),i)4!==u.readyStateu.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"st ring"==typeof u.responseText(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n .crossDomain?1223===s(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}po(s,c,p,l)},n.asyn c?4===u.readyState?setTimeout(r):(a=++Wn,$n(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onrea dystatechange=r):r()},abort:function(){rr(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/que ueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[ 3]||(b.cssNumber[e]?"":"px"),"px"!==rs){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)1!==u--l)}i.unit=r,i.star t=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;oi;i++)if(r[i].call(e,t,n))return})}fu nction er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens. length;for(;ua;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1ou?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.e xtend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n, startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;rn;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialE asing);ao;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e, anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete) .fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)(o=n[1],n=e[i]=n[0]),i!==r(e[r]=n,del ete e[i]),a=b.cssHooks[r],a"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.s plit(" ");var n,r=0,i=e.length;for(;ir;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function (e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeTypenn(e);n.queue||(c=b._queueHook s(e,"fx"),null==c.unqueued(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueue d||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx") .length||c.empty.fire()})})),1===e.nodeType("height"in t||"width"in t)(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")"none "===b.css(e,"float")(b.support.inlineBlockNeedsLayout"inline"!==un(e.nodeName)?d.zoom= 1:d.display="inline-block")),n.overflow(d.overflow="hidden",b.support.shrinkWrapBlocks|| f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overf low[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data( e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s(m=s.hidden),u(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(fun ction(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;oi;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.sty le(e,r),r in s||(s[r]=l.start,m(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n, r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=t his.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return ee.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this .options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.stepthis.o ptions.step.call(this.elem,this.now,this),nn.set?n.set(this):rr.propHooks._default.set(t his),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function( e){var t;return null==e.elem[e.prop]||e.elem.stylenull!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,"") ,t"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e) :e.elem.style(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem ,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLe ft={set:function(e){e.elem.nodeTypee.elem.parentNode(e.elem[e.prop]=e.now)}},b.each([" toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e, t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:functio n(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish")) t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e(r=n,n=e,e=t),ne!==!1this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=ee+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]a[n].stopi(a[n]);e lse for(n in a)a[n]a[n].stopJn.test(n)i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=eo[n ].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)b.dequeue(this,e)})},finish:f unction(e){return e!==!1(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.fini sh=!0,b.queue(this,e,[]),ii.curi.cur.finishi.cur.finish.call(this),t=o.length;t--;)o [t].elem===thiso[t].queue===e(o[t].anim.stop(!0),o.splice(t,1));for(t=0;at;t++)r[t] r[t].finishr[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir ("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}} ,function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e"object"==typeof e?b.extend({},e):{complete:n||!nt||b.isFunction(e)e,duration:e,easing:nt||t!b.isF unction(t)t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)( r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)r.old.call(this) ,r.queueb.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init, b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.lengthr;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.le ngth||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()b.timers.push(e)b.fx.start()},b.fx.i nterval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop= function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.st ep={},b.exprb.expr.filters(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=aa.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOff set||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft ||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)b .inArray("auto",[a,s])-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat( a)||0,f=parseFloat(s)||0),b.isFunction(t)(t=t.call(e,n,o)),null!=t.top(l.top=t.top-o.t op+p),null!=t.left(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientR ect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top +=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.t op-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:fun ction(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e!b.nodeName(e,"html")"static"===b.css(e ,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},funct ion(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).sc rollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",W idth:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i ){b.fn[i]=function(i,o){var a=arguments.length(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement, Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])) :i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==type of definedefine.amddefine.amd.jQuerydefine("jquery",[],function(){return b})})(window);

    jquery.flexslider.js:

    /*

    * jQuery FlexSlider v2.1

    * http://www.woothemes.com/flexslider/

    *

    * Copyright 2012 WooThemes

    * Free to use under the GPLv2 license.

    * http://www.gnu.org/licenses/gpl-2.0.html

    *

    * Contributing author: Tyler Smith (@mbmufffin)

    */

    ;(function ($) {

    //FlexSlider: Object Instance

    $.flexslider = function(el, options) {

    var slider = $(el),

    vars = $.extend({}, $.flexslider.defaults, options),

    namespace = vars.namespace,

    touch = ("ontouchstart" in window) || window.DocumentTouch document instanceof DocumentTouch,

    eventType = (touch) ? "touchend" : "click",

    vertical = vars.direction === "vertical",

    reverse = vars.reverse,

    carousel = (vars.itemWidth 0),

    fade = vars.animation === "fade",

    asNav = vars.asNavFor !== "",

    methods = {};

    // Store a reference to the slider object

    $.data(el, "flexslider", slider);

    // Privat slider methods

    methods = {

    init: function() {

    slider.animating = false;

    slider.currentSlide = vars.startAt;

    slider.animatingTo = slider.currentSlide;

    slider.atEnd = (slider.currentSlide === 0 || slider.currentSlide === slider.last);

    slider.containerSelector = vars.selector.substr(0,vars.selector.search(' '));

    slider.slides = $(vars.selector, slider);

    slider.container = $(slider.containerSelector, slider);

    slider.count = slider.slides.length;

    // SYNC:

    slider.syncExists = $(vars.sync).length 0;

    // SLIDE:

    if (vars.animation === "slide") vars.animation = "swing";

    slider.prop = (vertical) ? "top" : "marginLeft";

    slider.args = {};

    // SLIDESHOW:

    slider.manualPause = false;

    // TOUCH/USECSS:

    slider.transitions = !vars.video !fade vars.useCSS (function() {

    var obj = document.createElement('div'),

    props = ['perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective'];

    for (var i in props) {

    if ( obj.style[ props[i] ] !== undefined ) {

    slider.pfx = props[i].replace('Perspective','').toLowerCase();

    slider.prop = "-" + slider.pfx + "-transform";

    return true;

    }

    }

    return false;

    }());

    // CONTROLSCONTAINER:

    if (vars.controlsContainer !== "") slider.controlsContainer = $(vars.controlsContainer).length 0 $(vars.controlsContainer);

    // MANUAL:

    if (vars.manualControls !== "") slider.manualControls = $(vars.manualControls).length 0 $(vars.manualControls);

    // RANDOMIZE:

    if (vars.randomize) {

    slider.slides.sort(function() { return (Math.round(Math.random())-0.5); });

    slider.container.empty().append(slider.slides);

    }

    slider.doMath();

    // ASNAV:

    if (asNav) methods.asNav.setup();

    // INIT

    slider.setup("init");

    // CONTROLNAV:

    if (vars.controlNav) methods.controlNav.setup();

    // DIRECTIONNAV:

    if (vars.directionNav) methods.directionNav.setup();

    // KEYBOARD:

    if (vars.keyboard ($(slider.containerSelector).length === 1 || vars.multipleKeyboard)) {

    $(document).bind('keyup', function(event) {

    var keycode = event.keyCode;

    if (!slider.animating (keycode === 39 || keycode === 37)) {

    var target = (keycode === 39) ? slider.getTarget('next') :

    (keycode === 37) ? slider.getTarget('prev') : false;

    slider.flexAnimate(target, vars.pauseOnAction);

    }

    });

    }

    // MOUSEWHEEL:

    if (vars.mousewheel) {

    slider.bind('mousewheel', function(event, delta, deltaX, deltaY) {

    event.preventDefault();

    var target = (delta 0) ? slider.getTarget('next') : slider.getTarget('prev');

    slider.flexAnimate(target, vars.pauseOnAction);

    });

    }

    // PAUSEPLAY

    if (vars.pausePlay) methods.pausePlay.setup();

    // SLIDSESHOW

    if (vars.slideshow) {

    if (vars.pauseOnHover) {

    slider.hover(function() {

    if (!slider.manualPlay !slider.manualPause) slider.pause();

    }, function() {

    if (!slider.manualPause !slider.manualPlay) slider.play();

    });

    }

    // initialize animation

    (vars.initDelay 0) ? setTimeout(slider.play, vars.initDelay) : slider.play();

    }

    // TOUCH

    if (touch vars.touch) methods.touch();

    // FADESMOOTHHEIGHT || SLIDE:

    if (!fade || (fade vars.smoothHeight)) $(window).bind("resize focus", methods.resize);

    // API: start() Callback

    setTimeout(function(){

    vars.start(slider);

    }, 200);

    },

    asNav: {

    setup: function() {

    slider.asNav = true;

    slider.animatingTo = Math.floor(slider.currentSlide/slider.move);

    slider.currentItem = slider.currentSlide;

    slider.slides.removeClass(namespace + "active-slide").eq(slider.currentItem).addClass(namespace + "active-slide");

    slider.slides.click(function(e){

    e.preventDefault();

    var $slide = $(this),

    target = $slide.index();

    if (!$(vars.asNavFor).data('flexslider').animating !$slide.hasClass('active')) {

    slider.direction = (slider.currentItem target) ? "next" : "prev";

    slider.flexAnimate(target, vars.pauseOnAction, false, true, true);

    }

    });

    }

    },

    controlNav: {

    setup: function() {

    if (!slider.manualControls) {

    methods.controlNav.setupPaging();

    } else { // MANUALCONTROLS:

    methods.controlNav.setupManual();

    }

    },

    setupPaging: function() {

    var type = (vars.controlNav === "thumbnails") ? 'control-thumbs' : 'control-paging',

    j = 1,

    item;

    slider.controlNavScaffold = $('ol class="+ namespace + 'control-nav ' + namespace + type + "/ol');

    if (slider.pagingCount 1) {

    for (var i = 0; i slider.pagingCount; i++) {

    item = (vars.controlNav === "thumbnails") ? 'img src="' + slider.slides.eq(i).attr("data-thumb") + '"/' : 'a' + j + '/a';

    slider.controlNavScaffold.append('li' + item + '/li');

    j++;

    }

    }

    // CONTROLSCONTAINER:

    (slider.controlsContainer) ? $(slider.controlsContainer).append(slider.controlNavScaffold) : slider.append(slider.controlNavScaffold);

    methods.controlNav.set();

    methods.controlNav.active();

    slider.controlNavScaffold.delegate('a, img', eventType, function(event) {

    event.preventDefault();

    var $this = $(this),

    target = slider.controlNav.index($this);

    if (!$this.hasClass(namespace + 'active')) {

    slider.direction = (target slider.currentSlide) ? "next" : "prev";

    slider.flexAnimate(target, vars.pauseOnAction);

    }

    });

    // Prevent iOS click event bug

    if (touch) {

    slider.controlNavScaffold.delegate('a', "click touchstart", function(event) {

    event.preventDefault();

    });

    }

    },

    setupManual: function() {

    slider.controlNav = slider.manualControls;

    methods.controlNav.active();

    slider.controlNav.live(eventType, function(event) {

    event.preventDefault();

    var $this = $(this),

    target = slider.controlNav.index($this);

    if (!$this.hasClass(namespace + 'active')) {

    (target slider.currentSlide) ? slider.direction = "next" : slider.direction = "prev";

    slider.flexAnimate(target, vars.pauseOnAction);

    }

    });

    // Prevent iOS click event bug

    if (touch) {

    slider.controlNav.live("click touchstart", function(event) {

    event.preventDefault();

    });

    }

    },

    set: function() {

    var selector = (vars.controlNav === "thumbnails") ? 'img' : 'a';

    slider.controlNav = $('.' + namespace + 'control-nav li ' + selector, (slider.controlsContainer) ? slider.controlsContainer : slider);

    },

    active: function() {

    slider.controlNav.removeClass(namespace + "active").eq(slider.animatingTo).addClass(namespace + "active");

    },

    update: function(action, pos) {

    if (slider.pagingCount 1 action === "add") {

    slider.controlNavScaffold.append($('lia' + slider.count + '/a/li'));

    } else if (slider.pagingCount === 1) {

    slider.controlNavScaffold.find('li').remove();

    } else {

    slider.controlNav.eq(pos).closest('li').remove();

    }

    methods.controlNav.set();

    (slider.pagingCount 1 slider.pagingCount !== slider.controlNav.length) ? slider.update(pos, action) : methods.controlNav.active();

    }

    },

    directionNav: {

    setup: function() {

    var directionNavScaffold = $('ul class="' + namespace + 'direction-nav"lia class="' + namespace + 'prev" href="#"' + vars.prevText + '/a/lilia class="' + namespace + 'next" href="#"' + vars.nextText + '/a/li/ul');

    // CONTROLSCONTAINER:

    if (slider.controlsContainer) {

    $(slider.controlsContainer).append(directionNavScaffold);

    slider.directionNav = $('.' + namespace + 'direction-nav li a', slider.controlsContainer);

    } else {

    slider.append(directionNavScaffold);

    slider.directionNav = $('.' + namespace + 'direction-nav li a', slider);

    }

    methods.directionNav.update();

    slider.directionNav.bind(eventType, function(event) {

    event.preventDefault();

    var target = ($(this).hasClass(namespace + 'next')) ? slider.getTarget('next') : slider.getTarget('prev');

    slider.flexAnimate(target, vars.pauseOnAction);

    });

    // Prevent iOS click event bug

    if (touch) {

    slider.directionNav.bind("click touchstart", function(event) {

    event.preventDefault();

    });

    }

    },

    update: function() {

    var disabledClass = namespace + 'disabled';

    if (slider.pagingCount === 1) {

    slider.directionNav.addClass(disabledClass);

    } else if (!vars.animationLoop) {

    if (slider.animatingTo === 0) {

    slider.directionNav.removeClass(disabledClass).filter('.' + namespace + "prev").addClass(disabledClass);

    } else if (slider.animatingTo === slider.last) {

    slider.directionNav.removeClass(disabledClass).filter('.' + namespace + "next").addClass(disabledClass);

    } else {

    slider.directionNav.removeClass(disabledClass);

    }

    } else {

    slider.directionNav.removeClass(disabledClass);

    }

    }

    },

    pausePlay: {

    setup: function() {

    var pausePlayScaffold = $('div class="' + namespace + 'pauseplay"a/a/div');

    // CONTROLSCONTAINER:

    if (slider.controlsContainer) {

    slider.controlsContainer.append(pausePlayScaffold);

    slider.pausePlay = $('.' + namespace + 'pauseplay a', slider.controlsContainer);

    } else {

    slider.append(pausePlayScaffold);

    slider.pausePlay = $('.' + namespace + 'pauseplay a', slider);

    }

    methods.pausePlay.update((vars.slideshow) ? namespace + 'pause' : namespace + 'play');

    slider.pausePlay.bind(eventType, function(event) {

    event.preventDefault();

    if ($(this).hasClass(namespace + 'pause')) {

    slider.manualPause = true;

    slider.manualPlay = false;

    slider.pause();

    } else {

    slider.manualPause = false;

    slider.manualPlay = true;

    slider.play();

    }

    });

    // Prevent iOS click event bug

    if (touch) {

    slider.pausePlay.bind("click touchstart", function(event) {

    event.preventDefault();

    });

    }

    },

    update: function(state) {

    (state === "play") ? slider.pausePlay.removeClass(namespace + 'pause').addClass(namespace + 'play').text(vars.playText) : slider.pausePlay.removeClass(namespace + 'play').addClass(namespace + 'pause').text(vars.pauseText);

    }

    },

    touch: function() {

    var startX,

    startY,

    offset,

    cwidth,

    dx,

    startT,

    scrolling = false;

    el.addEventListener('touchstart', onTouchStart, false);

    function onTouchStart(e) {

    if (slider.animating) {

    e.preventDefault();

    } else if (e.touches.length === 1) {

    slider.pause();

    // CAROUSEL:

    cwidth = (vertical) ? slider.h : slider. w;

    startT = Number(new Date());

    // CAROUSEL:

    offset = (carousel reverse slider.animatingTo === slider.last) ? 0 :

    (carousel reverse) ? slider.limit - (((slider.itemW + vars.itemMargin) * slider.move) * slider.animatingTo) :

    (carousel slider.currentSlide === slider.last) ? slider.limit :

    (carousel) ? ((slider.itemW + vars.itemMargin) * slider.move) * slider.currentSlide :

    (reverse) ? (slider.last - slider.currentSlide + slider.cloneOffset) * cwidth : (slider.currentSlide + slider.cloneOffset) * cwidth;

    startX = (vertical) ? e.touches[0].pageY : e.touches[0].pageX;

    startY = (vertical) ? e.touches[0].pageX : e.touches[0].pageY;

    el.addEventListener('touchmove', onTouchMove, false);

    el.addEventListener('touchend', onTouchEnd, false);

    }

    }

    function onTouchMove(e) {

    dx = (vertical) ? startX - e.touches[0].pageY : startX - e.touches[0].pageX;

    scrolling = (vertical) ? (Math.abs(dx) Math.abs(e.touches[0].pageX - startY)) : (Math.abs(dx) Math.abs(e.touches[0].pageY - startY));

    if (!scrolling || Number(new Date()) - startT 500) {

    e.preventDefault();

    if (!fade slider.transitions) {

    if (!vars.animationLoop) {

    dx = dx/((slider.currentSlide === 0 dx 0 || slider.currentSlide === slider.last dx 0) ? (Math.abs(dx)/cwidth+2) : 1);

    }

    slider.setProps(offset + dx, "setTouch");

    }

    }

    }

    function onTouchEnd(e) {

    // finish the touch by undoing the touch session

    el.removeEventListener('touchmove', onTouchMove, false);

    if (slider.animatingTo === slider.currentSlide !scrolling !(dx === null)) {

    var updateDx = (reverse) ? -dx : dx,

    target = (updateDx 0) ? slider.getTarget('next') : slider.getTarget('prev');

    if (slider.canAdvance(target) (Number(new Date()) - startT 550 Math.abs(updateDx) 50 || Math.abs(updateDx) cwidth/2)) {

    slider.flexAnimate(target, vars.pauseOnAction);

    } else {

    if (!fade) slider.flexAnimate(slider.currentSlide, vars.pauseOnAction, true);

    }

    }

    el.removeEventListener('touchend', onTouchEnd, false);

    startX = null;

    startY = null;

    dx = null;

    offset = null;

    }

    },

    resize: function() {

    if (!slider.animating slider.is(':visible')) {

    if (!carousel) slider.doMath();

    if (fade) {

    // SMOOTH HEIGHT:

    methods.smoothHeight();

    } else if (carousel) { //CAROUSEL:

    slider.slides.width(slider.computedW);

    slider.update(slider.pagingCount);

    slider.setProps();

    }

    else if (vertical) { //VERTICAL:

    slider.viewport.height(slider.h);

    slider.setProps(slider.h, "setTotal");

    } else {

    // SMOOTH HEIGHT:

    if (vars.smoothHeight) methods.smoothHeight();

    slider.newSlides.width(slider.computedW);

    slider.setProps(slider.computedW, "setTotal");

    }

    }

    },

    smoothHeight: function(dur) {

    if (!vertical || fade) {

    var $obj = (fade) ? slider : slider.viewport;

    (dur) ? $obj.animate({"height": slider.slides.eq(slider.animatingTo).height()}, dur) : $obj.height(slider.slides.eq(slider.animatingTo).height());

    }

    },

    sync: function(action) {

    var $obj = $(vars.sync).data("flexslider"),

    target = slider.animatingTo;

    switch (action) {

    case "animate": $obj.flexAnimate(target, vars.pauseOnAction, false, true); break;

    case "play": if (!$obj.playing !$obj.asNav) { $obj.play(); } break;

    case "pause": $obj.pause(); break;

    }

    }

    }

    // public methods

    slider.flexAnimate = function(target, pause, override, withSync, fromNav) {

    if (asNav slider.pagingCount === 1) slider.direction = (slider.currentItem target) ? "next" : "prev";

    if (!slider.animating (slider.canAdvance(target, fromNav) || override) slider.is(":visible")) {

    if (asNav withSync) {

    var master = $(vars.asNavFor).data('flexslider');

    slider.atEnd = target === 0 || target === slider.count - 1;

    master.flexAnimate(target, true, false, true, fromNav);

    slider.direction = (slider.currentItem target) ? "next" : "prev";

    master.direction = slider.direction;

    if (Math.ceil((target + 1)/slider.visible) - 1 !== slider.currentSlide target !== 0) {

    slider.currentItem = target;

    slider.slides.removeClass(namespace + "active-slide").eq(target).addClass(namespace + "active-slide");

    target = Math.floor(target/slider.visible);

    } else {

    slider.currentItem = target;

    slider.slides.removeClass(namespace + "active-slide").eq(target).addClass(namespace + "active-slide");

    return false;

    }

    }

    slider.animating = true;

    slider.animatingTo = target;

    // API: before() animation Callback

    vars.before(slider);

    // SLIDESHOW:

    if (pause) slider.pause();

    // SYNC:

    if (slider.syncExists !fromNav) methods.sync("animate");

    // CONTROLNAV

    if (vars.controlNav) methods.controlNav.active();

    // !CAROUSEL:

    // CANDIDATE: slide active class (for add/remove slide)

    if (!carousel) slider.slides.removeClass(namespace + 'active-slide').eq(target).addClass(namespace + 'active-slide');

    // INFINITE LOOP:

    // CANDIDATE: atEnd

    slider.atEnd = target === 0 || target === slider.last;

    // DIRECTIONNAV:

    if (vars.directionNav) methods.directionNav.update();

    if (target === slider.last) {

    // API: end() of cycle Callback

    vars.end(slider);

    // SLIDESHOW !INFINITE LOOP:

    if (!vars.animationLoop) slider.pause();

    }

    // SLIDE:

    if (!fade) {

    var dimension = (vertical) ? slider.slides.filter(':first').height() : slider.computedW,

    margin, slideString, calcNext;

    // INFINITE LOOP / REVERSE:

    if (carousel) {

    margin = (vars.itemWidth slider.w) ? vars.itemMargin * 2 : vars.itemMargin;

    calcNext = ((slider.itemW + margin) * slider.move) * slider.animatingTo;

    slideString = (calcNext slider.limit slider.visible !== 1) ? slider.limit : calcNext;

    } else if (slider.currentSlide === 0 target === slider.count - 1 vars.animationLoop slider.direction !== "next") {

    slideString = (reverse) ? (slider.count + slider.cloneOffset) * dimension : 0;

    } else if (slider.currentSlide === slider.last target === 0 vars.animationLoop slider.direction !== "prev") {

    slideString = (reverse) ? 0 : (slider.count + 1) * dimension;

    } else {

    slideString = (reverse) ? ((slider.count - 1) - target + slider.cloneOffset) * dimension : (target + slider.cloneOffset) * dimension;

    }

    slider.setProps(slideString, "", vars.animationSpeed);

    if (slider.transitions) {

    if (!vars.animationLoop || !slider.atEnd) {

    slider.animating = false;

    slider.currentSlide = slider.animatingTo;

    }

    slider.container.unbind("webkitTransitionEnd transitionend");

    slider.container.bind("webkitTransitionEnd transitionend", function() {

    slider.wrapup(dimension);

    });

    } else {

    slider.container.animate(slider.args, vars.animationSpeed, vars.easing, function(){

    slider.wrapup(dimension);

    });

    }

    } else { // FADE:

    if (!touch) {

    slider.slides.eq(slider.currentSlide).fadeOut(vars.animationSpeed, vars.easing);

    slider.slides.eq(target).fadeIn(vars.animationSpeed, vars.easing, slider.wrapup);

    } else {

    slider.slides.eq(slider.currentSlide).css({ "opacity": 0, "zIndex": 1 });

    slider.slides.eq(target).css({ "opacity": 1, "zIndex": 2 });

    slider.slides.unbind("webkitTransitionEnd transitionend");

    slider.slides.eq(slider.currentSlide).bind("webkitTransitionEnd transitionend", function() {

    // API: after() animation Callback

    vars.after(slider);

    });

    slider.animating = false;

    slider.currentSlide = slider.animatingTo;

    }

    }

    // SMOOTH HEIGHT:

    if (vars.smoothHeight) methods.smoothHeight(vars.animationSpeed);

    }

    }

    slider.wrapup = function(dimension) {

    // SLIDE:

    if (!fade !carousel) {

    if (slider.currentSlide === 0 slider.animatingTo === slider.last vars.animationLoop) {

    slider.setProps(dimension, "jumpEnd");

    } else if (slider.currentSlide === slider.last slider.animatingTo === 0 vars.animationLoop) {

    slider.setProps(dimension, "jumpStart");

    }

    }

    slider.animating = false;

    slider.currentSlide = slider.animatingTo;

    // API: after() animation Callback

    vars.after(slider);

    }

    // SLIDESHOW:

    slider.animateSlides = function() {

    if (!slider.animating) slider.flexAnimate(slider.getTarget("next"));

    }

    // SLIDESHOW:

    slider.pause = function() {

    clearInterval(slider.animatedSlides);

    slider.playing = false;

    // PAUSEPLAY:

    if (vars.pausePlay) methods.pausePlay.update("play");

    // SYNC:

    if (slider.syncExists) methods.sync("pause");

    }

    // SLIDESHOW:

    slider.play = function() {

    slider.animatedSlides = setInterval(slider.animateSlides, vars.slideshowSpeed);

    slider.playing = true;

    // PAUSEPLAY:

    if (vars.pausePlay) methods.pausePlay.update("pause");

    // SYNC:

    if (slider.syncExists) methods.sync("play");

    }

    slider.canAdvance = function(target, fromNav) {

    // ASNAV:

    var last = (asNav) ? slider.pagingCount - 1 : slider.last;

    return (fromNav) ? true :

    (asNav slider.currentItem === slider.count - 1 target === 0 slider.direction === "prev") ? true :

    (asNav slider.currentItem === 0 target === slider.pagingCount - 1 slider.direction !== "next") ? false :

    (target === slider.currentSlide !asNav) ? false :

    (vars.animationLoop) ? true :

    (slider.atEnd slider.currentSlide === 0 target === last slider.direction !== "next") ? false :

    (slider.atEnd slider.currentSlide === last target === 0 slider.direction === "next") ? false :

    true;

    }

    slider.getTarget = function(dir) {

    slider.direction = dir;

    if (dir === "next") {

    return (slider.currentSlide === slider.last) ? 0 : slider.currentSlide + 1;

    } else {

    return (slider.currentSlide === 0) ? slider.last : slider.currentSlide - 1;

    }

    }

    // SLIDE:

    slider.setProps = function(pos, special, dur) {

    var target = (function() {

    var posCheck = (pos) ? pos : ((slider.itemW + vars.itemMargin) * slider.move) * slider.animatingTo,

    posCalc = (function() {

    if (carousel) {

    return (special === "setTouch") ? pos :

    (reverse slider.animatingTo === slider.last) ? 0 :

    (reverse) ? slider.limit - (((slider.itemW + vars.itemMargin) * slider.move) * slider.animatingTo) :

    (slider.animatingTo === slider.last) ? slider.limit : posCheck;

    } else {

    switch (special) {

    case "setTotal": return (reverse) ? ((slider.count - 1) - slider.currentSlide + slider.cloneOffset) * pos : (slider.currentSlide + slider.cloneOffset) * pos;

    case "setTouch": return (reverse) ? pos : pos;

    case "jumpEnd": return (reverse) ? pos : slider.count * pos;

    case "jumpStart": return (reverse) ? slider.count * pos : pos;

    default: return pos;

    }

    }

    }());

    return (posCalc * -1) + "px";

    }());

    if (slider.transitions) {

    target = (vertical) ? "translate3d(0," + target + ",0)" : "translate3d(" + target + ",0,0)";

    dur = (dur !== undefined) ? (dur/1000) + "s" : "0s";

    slider.container.css("-" + slider.pfx + "-transition-duration", dur);

    }

    slider.args[slider.prop] = target;

    if (slider.transitions || dur === undefined) slider.container.css(slider.args);

    }

    slider.setup = function(type) {

    // SLIDE:

    if (!fade) {

    var sliderOffset, arr;

    if (type === "init") {

    slider.viewport = $('div class="' + namespace + 'viewport"/div').css({"overflow": "hidden", "position": "relative"}).appendTo(slider).append(slider.container);

    // INFINITE LOOP:

    slider.cloneCount = 0;

    slider.cloneOffset = 0;

    // REVERSE:

    if (reverse) {

    arr = $.makeArray(slider.slides).reverse();

    slider.slides = $(arr);

    slider.container.empty().append(slider.slides);

    }

    }

    // INFINITE LOOP !CAROUSEL:

    if (vars.animationLoop !carousel) {

    slider.cloneCount = 2;

    slider.cloneOffset = 1;

    // clear out old clones

    if (type !== "init") slider.container.find('.clone').remove();

    slider.container.append(slider.slides.first().clone().addClass('clone')).prepend(slider.s lides.last().clone().addClass('clone'));

    }

    slider.newSlides = $(vars.selector, slider);

    sliderOffset = (reverse) ? slider.count - 1 - slider.currentSlide + slider.cloneOffset : slider.currentSlide + slider.cloneOffset;

    // VERTICAL:

    if (vertical !carousel) {

    slider.container.height((slider.count + slider.cloneCount) * 200 + "%").css("position", "absolute").width("100%");

    setTimeout(function(){

    slider.newSlides.css({"display": "block"});

    slider.doMath();

    slider.viewport.height(slider.h);

    slider.setProps(sliderOffset * slider.h, "init");

    }, (type === "init") ? 100 : 0);

    } else {

    slider.container.width((slider.count + slider.cloneCount) * 200 + "%");

    slider.setProps(sliderOffset * slider.computedW, "init");

    setTimeout(function(){

    slider.doMath();

    slider.newSlides.css({"width": slider.computedW, "float": "left", "display": "block"});

    // SMOOTH HEIGHT:

    if (vars.smoothHeight) methods.smoothHeight();

    }, (type === "init") ? 100 : 0);

    }

    } else { // FADE:

    slider.slides.css({"width": "100%", "float": "left", "marginRight": "-100%", "position": "relative"});

    if (type === "init") {

    if (!touch) {

    slider.slides.eq(slider.currentSlide).fadeIn(vars.animationSpeed, vars.easing);

    } else {

    slider.slides.css({ "opacity": 0, "display": "block", "webkitTransition": "opacity " + vars.animationSpeed / 1000 + "s ease", "zIndex": 1 }).eq(slider.currentSlide).css({ "opacity": 1, "zIndex": 2});

    }

    }

    // SMOOTH HEIGHT:

    if (vars.smoothHeight) methods.smoothHeight();

    }

    // !CAROUSEL:

    // CANDIDATE: active slide

    if (!carousel) slider.slides.removeClass(namespace + "active-slide").eq(slider.currentSlide).addClass(namespace + "active-slide");

    }

    slider.doMath = function() {

    var slide = slider.slides.first(),

    slideMargin = vars.itemMargin,

    minItems = vars.minItems,

    maxItems = vars.maxItems;

    slider.w = slider.width();

    slider.h = slide.height();

    slider.boxPadding = slide.outerWidth() - slide.width();

    // CAROUSEL:

    if (carousel) {

    slider.itemT = vars.itemWidth + slideMargin;

    slider.minW = (minItems) ? minItems * slider.itemT : slider.w;

    slider.maxW = (maxItems) ? maxItems * slider.itemT : slider.w;

    slider.itemW = (slider.minW slider.w) ? (slider.w - (slideMargin * minItems))/minItems :

    (slider.maxW slider.w) ? (slider.w - (slideMargin * maxItems))/maxItems :

    (vars.itemWidth slider.w) ? slider.w : vars.itemWidth;

    slider.visible = Math.floor(slider.w/(slider.itemW + slideMargin));

    slider.move = (vars.move 0 vars.move slider.visible ) ? vars.move : slider.visible;

    slider.pagingCount = Math.ceil(((slider.count - slider.visible)/slider.move) + 1);

    slider.last = slider.pagingCount - 1;

    slider.limit = (slider.pagingCount === 1) ? 0 :

    (vars.itemWidth slider.w) ? ((slider.itemW + (slideMargin * 2)) * slider.count) - slider.w - slideMargin : ((slider.itemW + slideMargin) * slider.count) - slider.w - slideMargin;

    } else {

    slider.itemW = slider.w;

    slider.pagingCount = slider.count;

    slider.last = slider.count - 1;

    }

    slider.computedW = slider.itemW - slider.boxPadding;

    }

    slider.update = function(pos, action) {

    slider.doMath();

    // update currentSlide and slider.animatingTo if necessary

    if (!carousel) {

    if (pos slider.currentSlide) {

    slider.currentSlide += 1;

    } else if (pos = slider.currentSlide pos !== 0) {

    slider.currentSlide -= 1;

    }

    slider.animatingTo = slider.currentSlide;

    }

    // update controlNav

    if (vars.controlNav !slider.manualControls) {

    if ((action === "add" !carousel) || slider.pagingCount slider.controlNav.length) {

    methods.controlNav.update("add");

    } else if ((action === "remove" !carousel) || slider.pagingCount slider.controlNav.length) {

    if (carousel slider.currentSlide slider.last) {

    slider.currentSlide -= 1;

    slider.animatingTo -= 1;

    }

    methods.controlNav.update("remove", slider.last);

    }

    }

    // update directionNav

    if (vars.directionNav) methods.directionNav.update();

    }

    slider.addSlide = function(obj, pos) {

    var $obj = $(obj);

    slider.count += 1;

    slider.last = slider.count - 1;

    // append new slide

    if (vertical reverse) {

    (pos !== undefined) ? slider.slides.eq(slider.count - pos).after($obj) : slider.container.prepend($obj);

    } else {

    (pos !== undefined) ? slider.slides.eq(pos).before($obj) : slider.container.append($obj);

    }

    // update currentSlide, animatingTo, controlNav, and directionNav

    slider.update(pos, "add");

    // update slider.slides

    slider.slides = $(vars.selector + ':not(.clone)', slider);

    // re-setup the slider to accomdate new slide

    slider.setup();

    //FlexSlider: added() Callback

    vars.added(slider);

    }

    slider.removeSlide = function(obj) {

    var pos = (isNaN(obj)) ? slider.slides.index($(obj)) : obj;

    // update count

    slider.count -= 1;

    slider.last = slider.count - 1;

    // remove slide

    if (isNaN(obj)) {

    $(obj, slider.slides).remove();

    } else {

    (vertical reverse) ? slider.slides.eq(slider.last).remove() : slider.slides.eq(obj).remove();

    }

    // update currentSlide, animatingTo, controlNav, and directionNav

    slider.doMath();

    slider.update(pos, "remove");

    // update slider.slides

    slider.slides = $(vars.selector + ':not(.clone)', slider);

    // re-setup the slider to accomdate new slide

    slider.setup();

    // FlexSlider: removed() Callback

    vars.removed(slider);

    }

    //FlexSlider: Initialize

    methods.init();

    }

    //FlexSlider: Default Settings

    $.flexslider.defaults = {

    namespace: "flex-", //{NEW} String: Prefix string attached to the class of every element generated by the plugin

    selector: ".slides li", //{NEW} Selector: Must match a simple pattern. '{container} {slide}' -- Ignore pattern at your own peril

    animation: "fade", //String: Select your animation type, "fade" or "slide"

    easing: "swing", //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported!

    direction: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical"

    reverse: false, //{NEW} Boolean: Reverse the animation direction

    animationLoop: true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end

    smoothHeight: false, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode

    startAt: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide)

    slideshow: true, //Boolean: Animate slider automatically

    slideshowSpeed: 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds

    animationSpeed: 600, //Integer: Set the speed of animations, in milliseconds

    initDelay: 0, //{NEW} Integer: Set an initialization delay, in milliseconds

    randomize: false, //Boolean: Randomize slide order

    // Usability features

    pauseOnAction: true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended.

    pauseOnHover: false, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering

    useCSS: true, //{NEW} Boolean: Slider will use CSS3 transitions if available

    touch: true, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices

    video: false, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches

    // Primary Controls

    controlNav: true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage

    directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false)

    prevText: "Previous", //String: Set the text for the "previous" directionNav item

    nextText: "Next", //String: Set the text for the "next" directionNav item

    // Secondary Navigation

    keyboard: true, //Boolean: Allow slider navigating via keyboard left/right keys

    multipleKeyboard: false, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present.

    mousewheel: false, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel

    pausePlay: false, //Boolean: Create pause/play dynamic element

    pauseText: "Pause", //String: Set the text for the "pause" pausePlay item

    playText: "Play", //String: Set the text for the "play" pausePlay item

    // Special properties

    controlsContainer: "", //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found.

    manualControls: "", //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs.

    sync: "", //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care.

    asNavFor: "", //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider

    // Carousel Options

    itemWidth: 0, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding.

    itemMargin: 0, //{NEW} Integer: Margin between carousel items.

    minItems: 0, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this.

    maxItems: 0, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit.

    move: 0, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items.

    // Callback API

    start: function(){}, //Callback: function(slider) - Fires when the slider loads the first slide

    before: function(){}, //Callback: function(slider) - Fires asynchronously with each slider animation

    after: function(){}, //Callback: function(slider) - Fires after each slider animation completes

    end: function(){}, //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous)

    added: function(){}, //{NEW} Callback: function(slider) - Fires after a slide is added

    removed: function(){} //{NEW} Callback: function(slider) - Fires after a slide is removed

    }

    //FlexSlider: Plugin Function

    $.fn.flexslider = function(options) {

    if (options === undefined) options = {};

    if (typeof options === "object") {

    return this.each(function() {

    var $this = $(this),

    selector = (options.selector) ? options.selector : ".slides li",

    $slides = $this.find(selector);

    if ($slides.length === 1) {

    $slides.fadeIn(400);

    if (options.start) options.start($this);

    } else if ($this.data('flexslider') == undefined) {

    new $.flexslider(this, options);

    }

    });

    } else {

    // Helper strings to quickly perform functions on the slider

    var $slider = $(this).data('flexslider');

    switch (options) {

    case "play": $slider.play(); break;

    case "pause": $slider.pause(); break;

    case "next": $slider.flexAnimate($slider.getTarget("next"), true); break;

    case "prev":

    case "previous": $slider.flexAnimate($slider.getTarget("prev"), true); break;

    default: if (typeof options === "number") $slider.flexAnimate(options, true);

    }

    }

    }

    })(jQuery);

    If anyone can help with this please do. I am on a deadline on getting this site up and having this is a major set back.

    thanks again.

    Dan Goodsitt

    djgoodsitt@gmail.com

    DB:2.66:Jquery Slider Problems Need Help With Css Part zk


    Pause on hover and cycle speed are already inside the code I provided. You don't need to do a thing unless you wish to change the transition speed.

    div class="cycle-slideshow" data-cycle-pause-on-hover="true" data-cycle-speed="1500"

    If you want to randomize the slides (which I don't recommend), you can add this to the code above:
    data-cycle-random="true"

    Nancy O.

  • RELEVANCY SCORE 2.65

    DB:2.65:Run-Time Error With Ifort 9.1 When Passing Functions z8



    Hi everybody,

    I came across this issue when using different ifort compilers. I normally use ifort 10.0.023 in which case the following code compiles and runs normally. However, I had to change to a parallel computer where ifort 9.1. is installed and this time the code compiles normally but has run-time segmentation fault. I don't see where the error might be in the code, I don't know is it because of the fact that the functions are being passed as arguments or what.

    If anybody has any ideas what the problem might be, it would be really helpful. The code is attached below. The run time error apparently occurs when function func isn't recognized in function hx. I compile with ifort -r8 -o test_ts fp_test_ts.f90.

    module utl
    implicit none
    contains
    function cft(a,b,n,func)
    implicit none
    real,intent(in) :: a,b
    integer,intent(in) :: n
    real :: cft(0:n)
    interface
    function func(x)
    implicit none
    real,intent(in) :: x(:)
    real :: func(size(x))
    end function func
    end interface
    real :: th(0:n)
    th = b-a
    cft = func(th)
    end function cft
    end module utl

    module test_mod
    implicit none
    real :: ts(1)
    contains
    function FCD(func,t1,t2,M,N) result(Amn)
    implicit none
    real, intent(in) :: t1,t2
    integer,intent(in) :: M,N
    complex :: Amn(-M:M,0:N)
    interface
    function func(x,t)
    real,intent(in) :: x(:),t(:)
    real :: func(size(t),size(x))
    end function func
    end interface
    complex,parameter :: i = (0.,1.)
    real :: tD(0:M)
    complex :: FN(0:M,0:M)
    integer :: j,k
    tD = (t2-t1)*(/ (j, j=0,M) /)
    forall (j = 0:M,k = 0:M) FN(j,k) = -i*j*k
    Amn(0:M,:) = matmul(FN,Cn(tD,N))
    Amn(-1:-M:-1,:) = conjg(Amn(1:M,:))
    contains
    !-----------------------------------------------------------------------------
    function Cn(t,N)
    use utl, only : cft
    implicit none
    real,intent(in),dimension(:) :: t
    integer,intent(in) :: N
    real :: Cn(size(t),0:N),x(0:N)
    integer :: k1
    forall (k1 = 0:N) x(k1) = 1.0*k1/(N+1)
    do k1 = 1,size(t)
    ts = t(k1)
    Cn(k1,:) = cft(x(0),x(N),N,hx)
    end do
    end function Cn
    !-----------------------------------------------------------------------------
    function hx(x)
    implicit none
    real,intent(in),dimension(:) :: x
    real,dimension(size(x)) :: hx
    real :: dum(1,size(x))
    print *,' **** hx'
    print *,' ts = ',ts
    print *,' func(0.1,0.1) = ', func( (/0.1/), (/0.1/) )
    dum = func(x,ts)
    hx = dum(1,:)
    end function hx
    end function FCD
    end module test_mod
    !*****************************************************************************
    program test_prog
    use test_mod, only : FCD
    implicit none
    integer,parameter :: M = 1, N = 10
    real,parameter :: a=0.0,b=1.0
    complex :: Amn(-M:M,0:N)
    Amn = FCD(func,a,b,M,N)
    print *, 'Amn = ',Amn
    contains
    function func(x,t)
    implicit none
    real,intent(in) :: x(:),t(:)
    real :: func(size(t),size(x))
    integer :: i
    do i = 1,size(t)
    func(i,:) = sin(t(i))*cos(x)
    end do
    end function
    end program test_prog

    The error I get is the following:

    forrtl: severe (174): SIGSEGV, segmentation fault occurred
    Image PC Routine Line Source
    test_ts 0000000000403775 Unknown Unknown Unknown
    test_ts 0000000000403453 Unknown Unknown Unknown
    test_ts 0000000000403250 Unknown Unknown Unknown
    test_ts 0000000000402C2E Unknown Unknown Unknown
    test_ts 00000000004027D3 Unknown Unknown Unknown
    test_ts 00000000004026AA Unknown Unknown Unknown
    libc.so.6 00002B406E87F154 Unknown Unknown Unknown
    test_ts 00000000004025E9 Unknown Unknown Unknown

    I found a similar discussion on forum http://software.intel.com/en-us/forums/showthread.php?t=51159 where Steve said that there is a bug in the process of being fixed. Is this the case of the same/similar bug that has been fixed in newer versions of ifort?

    Thanks,
    Grgur

    DB:2.65:Run-Time Error With Ifort 9.1 When Passing Functions z8


    Thanks Steve, at least I know I didn't go that crazy. I'll try to get it updated.

    Grgur

  • RELEVANCY SCORE 2.64

    DB:2.64:Transform A Thing With A Date Issue zk


    Hi, I use getThings xml api to get a list of things, and getThingType xml api to get a form transformed template, and then use xalan 2.7.1 to transform the result. I saw the following error as long as the Thing has a date in it.
    Location of error unknown)java.lang.NoSuchMethodException: For extension function, could not find method
    org.apache.xml.utils.NodeVector.formatDate([ExpressionContext,] #NODESET, #NODESET, #STRING, #STRING).
    I notice that in the xsl that I get contains the script written in CSharp:
    msxml:script xmlns:msxml=urn:schemas-microsoft-com:xslt xmlns:hv-scripts=urn:hv-scripts language=CSharp implements-prefix=hv-scripts\n        \n  
             public String formatDate(\n                string year,\n                string month,\n                string day,\n                String
    cultureCode,\n                String pattern) \n            {\n                DateTime dateTime;\n                \n                if
    (String.IsNullOrEmpty(year))\n                {\n                    year = 1900;\n                }\n                \n                if
    (String.IsNullOrEmpty(month))\n                {\n                    month = 1;\n                }\n                \n                if
    (String.IsNullOrEmpty(day))\n                {\n                    day = 1;\n                }\n                \n                try\n               
    {\n                    dateTime =\n                        new DateTime(\n                            Convert.ToInt32(year), \n                           
    Convert.ToInt32(month), \n                            Convert.ToInt32(day));\n                }\n                catch (FormatException)\n               
    {\n                    return \n                        String.Format(\n                            y={0},m={1},d={2},\n                           
    year,\n                            month,\n                            day);\n                }\n                \n                String result =
    String.Empty;\n                try\n                {\n                    System.Globalization.CultureInfo culture = \n                       
    System.Globalization.CultureInfo.GetCultureInfo(cultureCode);\n                    result = dateTime.ToString(pattern, culture.DateTimeFormat);\n           
        }\n                catch (Exception e)\n                {\n                    result = e.Message;\n                }\n                return result;\n 
              }\n            \n            public String formatLongTime(\n                string hour,\n                string minute,\n                string
    second,\n                string millisecond,\n                String cultureCode) \n            {\n                DateTime dateTime;\n                \n   
                bool addMilliseconds = false;\n                \n                if (String.IsNullOrEmpty(hour))\n                {\n                    hour =
    0;\n                }\n                \n                if (String.IsNullOrEmpty(minute))\n                {\n                    minute = 0;\n        
           }\n                \n                if (String.IsNullOrEmpty(second))\n                {\n                    second = 0;\n                }\n    
                \n                if (String.IsNullOrEmpty(millisecond))\n                {\n                    millisecond = 0;\n                }\n        
           else\n                {\n                    addMilliseconds = true;\n                }\n                \n                \n                try\n   
                {\n                    dateTime = \n                        new DateTime(\n                            1900, \n                            1, \n
                               1, \n                            Convert.ToInt32(hour), \n                            Convert.ToInt32(minute), \n                
               Convert.ToInt32(second));\n                    \n                    if (addMilliseconds)\n                    {\n                       
    dateTime.AddMilliseconds(Convert.ToInt32(millisecond));\n                    }\n                }\n                catch (FormatException)\n               
    {\n                    return \n                        String.Format(\n                            h={0},m={1},s={2},f={3},\n                           
    hour,\n                            minute,\n                            second,\n                            millisecond);\n                }\n             
      \n                String result = String.Empty;\n                try\n                {\n                    System.Globalization.CultureInfo culture = \n
                           System.Globalization.CultureInfo.GetCultureInfo(cultureCode);\n                        \n                   
    System.Globalization.DateTimeFormatInfo formatInfo =\n                        (System.Globalization.DateTimeFormatInfo)culture.GetFormat(\n                 
              typeof(System.Globalization.DateTimeFormatInfo));\n\n                    string format = formatInfo.LongTimePattern;\n\n                    if
    (addMilliseconds)\n                    {\n                        format = format.Replace(ss, ss.fff);\n                    }\n                   
    result = dateTime.ToString(format, culture);\n                }\n                catch (Exception e)\n                {\n                    result =
    e.Message;\n                }\n                return result;\n            }\n        \n    /msxml:script
    The example that I use here is a thing for Condtion ThingType,
    Here is the xml:
    ?xml version=1.0 encoding=UTF-8?data-xmlconditionnametextNew Condition
    test/text/nameonset-datestructureddatey2008/ym8/md18/d/date/structured/onset-datestatustextIntermittent: This comes and
    goes/textcodevalueintermittent/valuefamilywc/familytypecondition-occurrence/typeversion1/version/code/statusstop-datestructured
    datey2008/ym9/md1/d/date/structured/stop-datestop-reasonHow it ended text/stop-reason/conditioncommonnoteNote
    text/note/common/data-xml
    It looks like the xslt processor does not know how to handle this extension function.
    How should I solve this?Thanks

    DB:2.64:Transform A Thing With A Date Issue zk

    Sorry for the delay--It sounds like the best approach here is to have the platform perform the transform for you, per Eric's post up top.  Have you tried that, and is it working for you now?

  • RELEVANCY SCORE 2.64

    DB:2.64:Check For Word In Dictionary 17



    I use something similar to the following... I haven't notice any slow down at all and my dictionary is close to 200k words.

    import System.Collections.Generic;
    import System.Linq;

    var myDictionary : Dictionary.String, String;
    var wordToCheck : String;

    function Awake()
    {
    var MytextAsset = Resources.Load(dictionary, typeof(TextAsset)) as TextAsset;
    myDictionary = MytextAsset.text.Split(\n[0]).ToDictionary(function(w){return w;});
    }

    function checkWord(word : String)
    {
    return myDictionary.ContainsKey(word);
    }

    function Update()
    {
    if(checkWord(wordToCheck))
    Debug.Log(wordToCheck + is a valid word);
    else if(!checkWord(wordToCheck))
    Debug.Log(wordToCheck + is NOT a valid word);
    }

    DB:2.64:Check For Word In Dictionary 17


    If your dictionary is sorted (and it should be) you shouldn't be loading the whole thing in to memory. You should access the file and move the file pointer half way in. Check to see if your word comes before or after that point. If before, move the file pointer half way back and check again. If after, move half way after and check again. Keep doing this half and half until your word is found directly in the file. AT MOST - this will require ONLY 16 such searches in a file of 50,000 words to find the right one and will execute blazingly fast with minimal memory footprint.

  • RELEVANCY SCORE 2.63

    DB:2.63:Prime Numbers kd


    Hi Everyone,

    I am trying to implement an algorithm that uses the Greatest Common Divisor and the Jacobi Function in order to discover if a number is prime or not. Our professor has provided us with some pseudo code (however, I have translated it into implementation). I am having a very hard time interpreting this algorithm as he says this is much more efficient than the simple brute force approach of iterating through all the numbers. Can anyone interpret this and give me a better understanding? I am actually supposed to write this in C++, so please ignore the syntax.

    To test if an odd N is prime:
    for loop 1 to k do
    randomly select b from the set {1..N-1}

    if (GCD(b,N) == 1) and J(b, N) CONGRUENCY OPERATOR b^((N-1)/2) (mod N)
    thencontinue looping
    else
    return not primeJ(x,y):

    if (x == 1)thenreturn 1
    else if ( x is even)thenreturn J( x/2, y ) * (-1)^((y^2 - 1)/8)
    elsereturn J(y(mod x), x ) * (-1)^((x-1)(y-1)/4)Value of b^((N-1)/2)(mod N):

    x = (N-1)/2
    y = b
    a = 1
    while x 0 do
    if (x is odd) then a = ay(mod N)
    y = y2(mod N)
    x = floor(x/2)
    return aThank you in advance. The congruency operator has me really confused. I believe it is not comparing for equality, but rather congruency similar to this: http://en.wikipedia.org/wiki/Congruence_relation
    As of right now, my implementation is not working and I am very unsure about the Congruency operator.

    Let me know if you have any questions and if you are able to actually implement this in working condition. My implementation seems to be failing.

    DB:2.63:Prime Numbers kd

    I will be moving this to the Algorithms forum.

  • RELEVANCY SCORE 2.62

    DB:2.62:How To Ignore Base Class? 1c



    Yep, override. The base class needs to have the function either marked abstract or virtual (abstract if it doesn't implement it at all, virtual if it implements but you want to override)

    class Shape{
    public abstract float getArea();
    }

    class Square:Shape{
    public override float getArea(){
    //do something
    }
    }



    OR

    class Shape{
    protected string name;
    public virtual void setName(string n){
    name = n;
    }
    }

    class Square:Shape{
    public override void setName(string n){
    name = sq+n;
    //also could call the base fcn:
    base.setName(n);

    }
    }

    DB:2.62:How To Ignore Base Class? 1c


    Yep, override. The base class needs to have the function either marked abstract or virtual (abstract if it doesn't implement it at all, virtual if it implements but you want to override)

    class Shape{
    public abstract float getArea();
    }

    class Square:Shape{
    public override float getArea(){
    //do something
    }
    }



    OR

    class Shape{
    protected string name;
    public virtual void setName(string n){
    name = n;
    }
    }

    class Square:Shape{
    public override void setName(string n){
    name = sq+n;
    //also could call the base fcn:
    base.setName(n);

    }
    }

  • RELEVANCY SCORE 2.62

    DB:2.62:Compiler Bug? kf


    I believe the following should compile;it does not under MSVC 1400:
    namespace n
    {

    void f();
    void g();
    void g(int);
    }
    void n::f()
    {

    struct s
    {

    void m()
    {

    g(); // error C2326: 'void n::f::s::m(void)' : function cannot access 'n::g'
    n::g();
    using n::g;
    g();
    }
    };
    }
    MSVC 1310 also fails to compile it with a similar error. I reported this fact a while back and Microsoft cofirmed it as being a bug in the 1310 C++ compiler.

    DB:2.62:Compiler Bug? kf

    Please log a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx
    Thanks in advance for taking the time to report the issue.
    Thanks,
    Ayman Shoukry
    VC++ Team

  • RELEVANCY SCORE 2.62

    DB:2.62:Ignore Spi From Ipsecsacontextgetspi0 p8


    Is it possible to ignore the results from IPsecSaContextGetSpi0 and specify my own SPI? Will this have an adverse steps on the system? I realize that I have to call the function otherwise the state engine will be in an invalid state.

    DB:2.62:Ignore Spi From Ipsecsacontextgetspi0 p8

    Correct, what I want to do is provide a key and SPI to the ipsec stack, rather than having to request one.  I am sad to hear that it is unsupported.

  • RELEVANCY SCORE 2.62

    DB:2.62:Prime Numbers fm


    Hi Everyone,

    I am trying to implement an algorithm that uses the Greatest Common Divisor and the Jacobi Function in order to discover if a number is prime or not. Our professor has provided us with some pseudo code (however, I have translated it into implementation). I am having a very hard time interpreting this algorithm as he says this is much more efficient than the simple brute force approach of iterating through all the numbers. Can anyone interpret this and give me a better understanding? I am actually supposed to write this in C++, so please ignore the syntax.

    To test if an odd N is prime:
    for loop 1 to k do
    randomly select b from the set {1..N-1}

    if (GCD(b,N) == 1) and J(b, N) CONGRUENCY OPERATOR b^((N-1)/2) (mod N)
    thencontinue looping
    else
    return not primeJ(x,y):
    if (x == 1)thenreturn 1
    else if ( x is even)thenreturn J( x/2, y ) * (-1)^((y^2 - 1)/8)
    elsereturn J(y(mod x), x ) * (-1)^((x-1)(y-1)/4)Value of b^((N-1)/2)(mod N):
    x = (N-1)/2
    y = b
    a = 1
    while x 0 do
    if (x is odd) then a = ay(mod N)
    y = y2(mod N)
    x = floor(x/2)
    return aThank you in advance. The congruency operator has me really confused. I believe it is not comparing for equality, but rather congruency similar to this: http://en.wikipedia.org/wiki/Congruence_relation
    As of right now, my implementation is not working and I am very unsure about the Congruency operator.

    Let me know if you have any questions and if you are able to actually implement this in working condition. My implementation seems to be failing.

    DB:2.62:Prime Numbers fm

    Post up your implementation if you're still there.

  • RELEVANCY SCORE 2.61

    DB:2.61:Ipad Frozen With Photo Stream Message Ignore Settings, Neither Work m9


    IPad 2 frozen with photo stream message and the ignore n settings buttone do nothing. Nothing works on it...

    DB:2.61:Ipad Frozen With Photo Stream Message Ignore Settings, Neither Work m9

    IPad 2 frozen with photo stream message and the ignore n settings buttone do nothing. Nothing works on it...

  • RELEVANCY SCORE 2.60

    DB:2.60:Anyone Run Into Similar Problem Using Textfieldautosize.Center And \N? ck


    Anyone run into similar problem using
    TextFieldAutoSize.CENTER and \n?

    The following works as expected except the text does NOT
    center. It aligns left. I tried RIGHT also but to no avail. It's
    probably simple but I've rewritten the text and done the examples
    in the manual. The line with the numbers in it sets the width of
    the text box but no of the other lines center like I was hoping.

    public function LessonPlan():void {
    var lessontext:TextField = new TextField();
    lessontext.autoSize = TextFieldAutoSize.CENTER;
    lessontext.text = "Only These Keys\nDo
    Something\nreturn/enter\n- -\n - \n0 1 2 3 4 5 6 7 8 9";
    lessontext.x = 500;
    lessontext.y = 10;
    lessontext.background = true;
    lessontext.border = true;
    var format:TextFormat = new TextFormat();
    format.font = "Verdana";
    format.color = 0xFF0000;
    format.size = 12;
    lessontext.setTextFormat(format);
    stage.addChild(lessontext);
    }

    Thanks in advance for a quick fix.

  • RELEVANCY SCORE 2.60

    DB:2.60:Error Lnk2019: Unresolved External Symbol f3


    Hi ! I have a similar problem with external error. I don't thin this has got to do with adding libraries and it should be something about the function declarations which I cannot find. Can you please help !? Thanks
    error LNK2019: unresolved external symbol int __cdecl vecintcmp(struct Vec_t *,double) (?vecintcmp@@YAHPAUVec_t@@N@Z) referenced in function _main

    DB:2.60:Error Lnk2019: Unresolved External Symbol f3

    WelcomeMicrosoft MVP - Visual C++
    Blog: http://nibuthomas.com

  • RELEVANCY SCORE 2.60

    DB:2.60:How To Use Report Embedded Code??? 9m


    A post similar to this was apparently deleted by the mods (that's what the site is reporting to me.)
     
    If a mod could contact me and let me know why, I'd appreciate it.
     
    Anyway...
     
    We want to embed code in a report.
     
    We wrote a VB function to remove \r\n combinations from strings, as it plays havoc with formatting.
     
    Various samples and the docs say to embed the code in the Report (Properties dlg, Code tab) something like this:
    Function MyFunc(...) as ...    Some VB code goes here...End Function
     
    The code should be accessible in Field expressions using the    Code.MyFunc(...)construct.
     
    We've tried that and it doesn't work. The Field expression editor tags the function name as an unknown identifier.
     
    If we ignore that the Report will build, but the Fields act as though the Field is referencing a value straight out of the dataset.
     
    We found some more obscure samples on the web that say to use the Public and/or the Shared keyword.
     
    We tried all possible permutations of Public and/or Shared or neither, that didn't work either.
     
    Are we missing something? How can this be made to work? Is this a localmode restriction?
     

    DB:2.60:How To Use Report Embedded Code??? 9m

    It's not a localmode restriction at all, and the expression editor doesn't know much about custom code, don't freak out when it complains g.  See your other thread for more...
     
    L
     

  • RELEVANCY SCORE 2.60

    DB:2.60:Palindromes In Vb 2008 cd


    problem im working on is write a program that determines a palindrome. the program should use a boolean based function procedure names ispalindrome that returns a true value, but also it needs to ignore spaces and puctuation.     I can get this to do every thing but ignore spaces and punctuation.

    DB:2.60:Palindromes In Vb 2008 cd

    This code will work using the Char methods.  You can eliminate any group of characters this way.  A new string is created without the unwanted characters.  The Char.IsPunctuation() method will identify most punctuation except certain symbols, such as the math operators.  Char.IsSymbol() will take care of those, but you can leave it out if not needed.

            Dim sentence, cha As String  

            Dim newsent As String =  

            Dim ch As Char  

            sentence = TextBox1.Text  

            For x As Integer = 0 To sentence.Length - 1  

                cha = sentence.Substring(x, 1)  

                ch = Convert.ToChar(cha)  

                If Not Char.IsPunctuation(ch) And Not Char.IsSymbol(ch) And cha    Then  

                    newsent = cha  

                End If  

            Next  

            Label1.Text = newsent 

            'MessageBox.Show(newsent) 

  • RELEVANCY SCORE 2.60

    DB:2.60:Doubt With Set Analysis kd



    Hi everybody

    i have this function

    SUM({Date= {'$(#vMAxFecha)'}}Money)

    It's working OK

    Now i have to ignore selections in "Q"

    How i ignore selections in a field? I tried - and {1} but it's not working.

    Regards

    DB:2.60:Doubt With Set Analysis kd


    Hi Jeremias

    Using {1} will ignore selections in all fields.

    If it just selections in "Q" you want to ignore, then try the following

    SUM({Date={'$(#vMAxFecha)'},Q=}Money)

  • RELEVANCY SCORE 2.59

    DB:2.59:Bug In My Nought And Crosses Code (Will Take You 5 Mins To Go Through The Code) Help!! 8j


    Hi
     
    Got a problem with the Noughts and Crosse code below.
     
    It´s at an early stage so having a look at the code will be quick and easy for you experts out there.
    So far the program only asks the user to enter the coordinates for the first move (cross) and displays the updated board.
     
    There´s some problem when coordinates 1,3 and 2,3 are inputted as the program, somehow!!!, also assigns a cross to 2,1 and 3,1 respectively.
     
    Have already tried debugging it but it makes no sense what the program´s doing. I know in which line of the code the problem´s ocurring and I´ve clearly labeled it. Is in the update function, when the ´X´ is assinged to a coordinate in the board.
     
    The program is a C++ Win 32 Console Application.
     
    PLease HELP!!!! as I´ve totally exhausted my debugging capacities.
     
    Thanks a lot for any input.
     
    BYE
     
    #include iostream
    using namespace std;
    char MATRIX[2][2]; //Global variable for the noughts and crosses board
     
    // FUNCTION: Displays the noughts and crosses board
    void display () {
    cout Welcome to Sergio´s noughts and crosses\n-------------------------------\n\n;
    cout 1 2 3 \n;
    cout * * \n;
    cout 1 MATRIX[0][0] * MATRIX[0][1] * MATRIX[0][2] \n;
    cout ****************** \n;
    cout * * \n;
    cout 2 MATRIX[1][0] * MATRIX[1][1] * MATRIX[1][2] \n;
    cout * * \n;
    cout ****************** \n;
    cout * * \n;
    cout 3 MATRIX[2][0] * MATRIX[2][1] * MATRIX[2][2] \n;
    cout * * \n;
    }
     
    // FUNCTION: Asks the player to enter the coordinates to his move
    int* enter_move(int i, int move[1]){
    int row, column;
    int *to_first;
    int out_of_range_row=0;
    int out_of_range_col=0;
    if ((i%2)!=0){ // If i is odd is Player X´s turn
    while (out_of_range_row==0){
    cout Enter your move Player X\nrow:;
    cin row;
    if ((row=1)(row=3)) //Checks if the row coord. are within range
    out_of_range_row=1; //Coord are within range and program goes on to ask for column coord
    }

    while (out_of_range_col==0){ // Same as above but the column coord
    cout Enter your move Player X\ncolumn:;
    cin column;
    if ((column=1)(column=3))
    out_of_range_col=1;
    }
    }

    else { // IGNORE for the time being
    cout Enter your move Player 0;
    cin row;
    cin column;
    }

    move [0] = row-1;
    move [1] = column-1;
    to_first=move[0];
    return to_first;
    }
     
    // FUNCTION: Updates the board
    void update ( int* to_first){
    // IGNORE cout 1stMATRIX[2-1][1-1]\n;
    int row = *to_first;
    to_first++;
    int col = *to_first;
    //IGNORE cout 1st.1MATRIX[2-1][1-1]\n;
    //IGNORE cout rowrow colcol\n;;
    MATRIX[row][col] ='X'; //HERE IS WHERE THE PROGRAM ASSIGNS A CROSS TO TWO COORDINATES EVEN THOUGH IS ONLY BEING TOLD TO DO IT TO ONE COORDINATE.
    //IGNORE cout 2ndMATRIX[2-1][1-1]\n;
    }
    //////////////////////////////////////////////////////////////////////////////////////
     
    int main()
    {
    char quit;

    int move[1];
    int *to_first;
    to_first=move[0];
    int i=1;
    display();
    to_first = enter_move(i, move);
    update(to_first);

    //IGNORE cout 3rdMATRIX[2-1][1-1]MATRIX[1-1][3-1]\n;
    display();
    cin quit;
    return 0;
    }

    DB:2.59:Bug In My Nought And Crosses Code (Will Take You 5 Mins To Go Through The Code) Help!! 8j

    HEY!!
    Not sure why it worked, but it worked!!!
     
    Thanks for the tip. Just got my hands on a C++ book, it should help me avoid those mistakes.
    NICE ONE
    cheers bye
     

  • RELEVANCY SCORE 2.59

    DB:2.59:Parse Error In Java mz


    I am very new to java and I have a piece of code which is written in javascript which i want to replicate in java basically it validates the structure of and XML Dom passed into it.

    function XMLParseError(XMLIsland, XMLName)
    {
    if (XMLIsland.parseError.errorCode != 0)
    {
    alert('XML Parse Error with ' + XMLName + '\n\nreason: ' +
    XMLIsland.parseError.reason +
    '\nline: ' + XMLIsland.parseError.line +
    '\npos: ' + XMLIsland.parseError.linepos +
    '\nsrcText:' + XMLIsland.parseError.srcText +
    '\nurl: ' + XMLIsland.parseError.url);
    }
    }

    in java i have
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    factory.setIgnoringComments(true); // We want to ignore comments

    // Now use the factory to create a DOM parser
    DocumentBuilder parser = factory.newDocumentBuilder();
    //final xml is an xml string
    xmldoc = parser.parse(new InputSource(new StringReader(finalXML)));

    if i want to catch the errors and print them to the screen similar to the javascript program how do i do this.....

    DB:2.59:Parse Error In Java mz

    Create a class which extends the DefaultHandler(DefaultHanlder impleents the ErrorHandler interface)
    Set the ErrorHandler on the DocumentBuilder.

    builder.setErrorHandler(errorHandler);

  • RELEVANCY SCORE 2.59

    DB:2.59:Excel 2007 To Excel Mac 2011 Vba Conversion Help c7


    The following parts of my macro keep throwing the process into debug mode. If i comment them out it starts to work flawlessly just without these parts:

    Selection.Replace What:="#N/A", Replacement:="-- IGNORE --", LookAt:=xlPart, _
    SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
    ReplaceFormat:=False

    Selection.Replace What:="/N/N", Replacement:="", LookAt:=xlPart, _
    SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
    ReplaceFormat:=False

    seems the find and replace feature is not working on MAC. However, it does have the replace function...
    Is there a Mac version or a more universal version of this syntax?

  • RELEVANCY SCORE 2.59

    DB:2.59:Anyway To Ignore Lobs During Propagation 7m


    Hi guys,

    i have a setup with streams capture and apply which is working. but i need to ignore the LOB during propagation. i know about the delete_column but it'll have to be set for each column separately... i came across a function that ignore all the LOB cols something like ignore_lob or something, i can't remember the exact function right now.. so can anyone please tell me the name of the function? your help will be really appreciated.

    Regads,
    Ankit.

    DB:2.59:Anyway To Ignore Lobs During Propagation 7m

    hi,
    thanks for your help but this isn't what i needed. i know about this function, what i need is something that'll remove all the columns with a particular datatype which in this case is CLOB and BLOB.
    i had read about the function but i can't remember the name of the function.
    thanks :)

  • RELEVANCY SCORE 2.59

    DB:2.59:Function sp


    Can anyone tell me what is wrong with this function?

    int

    convert (char *n) {

    int result = 0;

    for (int
    i = strlen(n)-1; i=0; i--) {

    if(n[i]='a')

    result = (n[i] -

    'a' 10) * pow(16, strlen(n)-i-1);

    else

    if(n[i]='A')

    result = (n[i] -

    'A' 10) * pow(16, strlen(n)-i-1);

    else

    if(n[i]='0')

    result = (n[i] -

    '0' 10) * pow(16, strlen(n)-i-1);

    }

    return result;
    I gives me error c2668 'pow' :ambiguous call to overloaded function
    I included themath.h and the string.h headers at the beggining

    DB:2.59:Function sp

    Thank you for your advice.
    Is very hard to learn alone and it took me a very long time to learn c.
    If you ask me something from theory I now almost anything but doing it for real is very hard.
    I tried visual c because using form applications is much easier than to write applications from scretch.
    And also visual c 8 has the cod hint procedure that makes work easier.

  • RELEVANCY SCORE 2.59

    DB:2.59:What Is Ignore=Y In Import N Export 9a


    what is ignore=y in import n export
    and
    what is diffrnce betwen conventional path n direct path

    DB:2.59:What Is Ignore=Y In Import N Export 9a

    1- Use IGNORE=YES to skip tables that already exist (imp will give an error if the object is re-created

    2- Cnventional path and Drirect Path
    The conventional path loader essentially loads the data by using standard INSERT statements, so transactions will go through the regular oracle transactional mechanism (DML)
    The direct path loader (DIRECT=TRUE) bypasses much of the logic involved with that, and loads directly into the Oracle data files,so Direct path means the write operation will be performed directly on the database files without requiring the redo log support :)

  • RELEVANCY SCORE 2.58

    DB:2.58:Segmentation Fault When Passing Functions As Arguments j7



    Hi,

    I have a question regarding the proper use of functions as arguments. I have a code in which I often pass functions as arguments and the program runs properly using ifort 10.1.

    Here is a sample code

    module mod_util
    implicit none
    contains

    function do_something(n,func)
    implicit none
    integer,intent(in) :: n
    real :: do_something(n+1)
    interface
    function func(x)
    implicit none
    real,intent(in) :: x(:)
    real :: func(size(x))
    end function func
    end interface
    real :: t(n+1)

    t = 1.0/(n+1)
    do_something = func(cos(t))/(n+1)
    end function do_something

    end module mod_util

    !*****************************************************************************

    module module1
    implicit none
    contains

    function get_Am(Rn,N) result(Am_in)
    use mod_util, only : do_something
    real,intent(in) :: Rn(:)
    integer,intent(in) :: N
    real :: Am_in(0:N)
    Am_in = 0.0
    Am_in = do_something(N,foo)

    contains

    function foo(x)
    real,intent(in) :: x(:)
    real :: foo(size(x))
    foo = 0.5*x*sum(Rn)
    end function foo

    end function get_Am


    end module module1

    !*****************************************************************************

    program test_do_something
    use module1, only : get_Am
    implicit none
    integer,parameter :: N=5,NRn=2
    real :: Rn(0:NRn),Am(0:N)

    Rn = 0.1

    Am = get_Am(Rn,N)
    print *,' Am = ',Am

    end program test_do_something

    The code is organized in this way because mod_util module contains "crunching" procedures, which can get different functions to crunch from different parts of the code. Despite the probable bad programming practice, the code works fine under ifort 10.1. I have come across Steve's post http://software.intel.com/en-us/blogs/2009/09/02/doctor-fortran-in-think... where he mentions that use of interface blocks is not quite a good approach and using up-level references might lead to run-time errors. I wasn't aware of this before and since ifort didn't complain and the approach made sense to me i organized the entire code around that.

    However, when I try compiling it on a differnent computer using pgf90, the code compiles but there is a segmentation error. The problem appears to be that Rn isn't defined in foo. I might find a way around it in this simple example, but there are other similar cases where this happens which would require the entire code to be rewritten. Am I doing something wrong with respect to FORTRAN standard, but what ifort is clever enough to correct?

    Thanks a bunch,
    Grgur

    DB:2.58:Segmentation Fault When Passing Functions As Arguments j7

    Quoting - tim18

    Unfortunately, if you want to make procedure arguments strictly compatible with f95 and f2003, you must use external procedures.

    Hi Tim,

    Thanks for the suggestion. Unfortunately indeed, but if that's the only way to get the code to run...

    Best,
    Grgur

  • RELEVANCY SCORE 2.58

    DB:2.58:Image Transparency And Hittestpoint 1j



    I'm not sure this is even possible, but does anyone know how to get the hitTestPoint function to ignore transparency for a MC containing a png image?

  • RELEVANCY SCORE 2.58

    DB:2.58:Function Help 1p


    Hi guys how are doing/ I'm new to PowerShell and I'm trying to replace this script:
    $Response = Read-Host `n`n`n`n`n`n`n`n Would You Like to Play? (Y/N)
    #Validate the player's input
    if ($Response -eq Y)
    {
    $PlayGame = True
    }
    elseif ($Response -eq N)
    {
    Clear-Host
    Write-Host `n`n Please Return and Play Again Soon
    Read-Host
    Exit
    }
    else {
    Clear-Host
    Write-Host `n`n Invalid Input. Please Try Again.
    Read-Host
    }
    }
    With a function.
    So far I'm not getting anywhere. Any ideas

    DB:2.58:Function Help 1p

    thank you very much guys for the help. But for some reason, the input can not be validate with that function. Or better yet look like i'm missing something.

  • RELEVANCY SCORE 2.58

    DB:2.58:How To Ignore A Mistake ? a1


    Hello there,m using Pages to write a novel, and from time to time i use words which do no actually exist. Therefore Pages signals that there is a mistake but has no proposition to make. Words has a function to ask the software to ignore the "mistake" and to stop underlining it in red, but i can't find any similar option in Pages. How should I proceed ?thx for your help !

    DB:2.58:How To Ignore A Mistake ? a1

    If you turn on Pages Edit Spelling and Grammar Check Spelling While Typing, you will get a red squiggly underscore. If you perform a right-click on that underlined word, the contextual menu will present you with options to ignore or learn spelling.There is no direct shortcut to ignore or learn a word. Either the process I mentioned before, or this one suggested here.

  • RELEVANCY SCORE 2.58

    DB:2.58:Jni And C++ Objects js


    I've got a static C-function which returns an object which shouldn't be NULL. However whenever I call it from the Java code it is NULL. The function looks similar like this:

    prototypestuff {
    MyCPlusPlusClassPtr result = (MyCPlusPlusClassPtr) new MyCPlusPlusClass( some args which are valid );
    printf( "Pointer is %ld\n", result ); // - I'm sure here's a pointer
    jobject returnvalue = jnienv-NewGlobalRef( (jobject) result );
    return( returnvalue );
    }

    I expect that it's not allowed to cast C++ object into the type jobject but how can I return this C++ object through my native function ?

    DB:2.58:Jni And C++ Objects js

    What you have to do is define your native method to return an appropriate java object. Then in your native implementation, you can use JNI calls to construct a java object from the C++ object, and return it.

  • RELEVANCY SCORE 2.58

    DB:2.58:Javascript Passing Parameter d7


    Hi I am trying to pass parameter from a servlet via a javascript function but for some reason it passes only the first parameter and ignore the second parameter is there an alternative to it.
    stringbuffer.append(
    "document.upl.action='"
    + s
    + "?"
    + ACTION //action
    + "="
    + UPLOAD //upl
    + ""
    + "mode="
    + "='+"
    + "document.upl.transfermode[index].value;" //binary //param1
    + "'"
    + CURRENT
    + "='+"
    + "parent.frames["
    + s2
    + "].document.forms[0]."
    + CURRENT
    + ".value;\n" //D:/tmp //param2

    );

    Any help would be greatly be appreciated.
    bkhe

    DB:2.58:Javascript Passing Parameter d7

    You still haven't looked at the whole string after it's constructed, have you?

    Okay, here's another thing that looks like a screwup:

    + "document.upl.transfermode[index].value;"
    + "'"

    Doesn't that semicolon end something in Javascript?

  • RELEVANCY SCORE 2.58

    DB:2.58:Test - Please Ignore 1z



    testing email notifications and reply

    please ignore

    Rainer

    DB:2.58:Test - Please Ignore 1z


    testing email notifications and reply

    please ignore

    Rainer

  • RELEVANCY SCORE 2.58

    DB:2.58:How To Ignore Web.Contents Error On Power Query ck


    How to ignore Web.Contents methos error on Power Query function ?

    Web.Contents make auth error on my Urls, sometime.
    I want to ignore auth error, and skip.
    Currently Power Query confirm collect auth information of web site, and cannot ignore.
    Regards,
    Yoshihiro Kawabata

  • RELEVANCY SCORE 2.58

    DB:2.58:Storm And File Save Errors 38



    Thanks in advance for taking the time to read my post.I am having a very frustrating problem.I have developed a game a simple game. The only features are the game itself and highscore file that keeps track of the high scores.I have tested it in the simulator on all types of phones and it works as expected.I have deployed to 2 different tour phones without problems.However when i deploy to a storm i have a problem reading and writing the highscore file.

    On first load the application checks for the highscore file and if it is not found it try's to create itusing the following function

    public static String writeTextFile(String fName, String text){ String error=""; DataOutputStream os = null; FileConnection fconn = null; try { fconn = (FileConnection) Connector.open(fName, Connector.READ_WRITE); if (!fconn.exists()) fconn.create();

    os = fconn.openDataOutputStream(); os.write(text.getBytes()); } catch (IOException e) { error+="error"+e.getMessage()+"\r\n"; }catch(IllegalModeException e){error+="error"+e.getMessage()+"\r\n"; }finally { try { if (null != os) os.close(); if (null != fconn) fconn.close(); } catch (IOException e) { error+="error"+e.getMessage()+"\r\n"; }catch (Exception e){ error+="error"+e.getMessage()+"\r\n"; } } if(error!="") return "Save successfull"; else return error;}

    when this function returns i check the return and if it does not startwith("error") then it worked

    otherwise display the error. problem is that on the storm i do not get an error it just freezes.

    works on the tour but not on the storm.

    the path i am using to save is.file:///store/home/HighScore.txt

    works fine in the simulator and on the actual tour phone but on the storm it just freezes. In order to get the phone to work after the freeze I have to power down the phone and restart it.very frustrating.when i debug on the storm device it does same thing. when i hit the line to create the file if it is not found it freezes the eclipse development environment and i have to ctrl alt del taskmanager to close it and reopen.in order to test further i checked the directory exists using a similar function and it finds

    file:///storefile:///store/home

    but when i check for

    file:///store/home/HighScore.txtit freezes.

    the function to check if the dir exists is

    public static String CheckIfDirExists(String Dir){String error=""; FileConnection fconn = null; try { fconn = (FileConnection) Connector.open(Dir, Connector.READ_WRITE); if (!fconn.exists()) fconn.create(); fconn = (FileConnection) Connector.open(Dir, Connector.READ_WRITE); fconn.close(); return "dir exists"; } catch (IOException e) { error+= "error "+e.getMessage()+"\r\n"; }catch(IllegalModeException e){ error+= "error "+e.getMessage()+"\r\n"; }try {fconn.close();} catch (IOException e) {// TODO Auto-generated catch blockerror+="error "+e.getMessage();}return error;}

    Oh yeah and I have already checked the application permissions for file access and it works on everything but the storm.Any ideas,

    ignore the typos if any and thanks again for your time.Jason.







    Solved!
    Go to Solution.

    DB:2.58:Storm And File Save Errors 38


    I doubt the issue to be specific to a specific model, but relate more to the security settings or IT Policy on that device. Did you see a prompt on the BlackBerry Storm? If so, that was why you received the deadlock.

    By default, the simulator doesn't enforce all security features of a real BlackBerry Smartphone (such as firewall and permission prompts).




    Mark SohmBlackBerry Development AdvisorPlease refrain from posting new questions in solved threads.Problem solved? Click the Accept As Solution button.Found a bug? Report it using Issue Tracker

  • RELEVANCY SCORE 2.57

    DB:2.57:Re: Select Query To Get The Values In Case Insensitive Format 81


    You can also use Oracle regular expressions to do this starting with 10g.

    where regexp_like(name, 'harry', 'i')

    The "i" means, ignore case. Similar to Unix grep -i function.

    Christopher Soza
    Oracle BI DBA
    Orix Consultancy Services Ltd
    Link: [Chris Soza's Blog|http://sozaman.blogspot.com]

  • RELEVANCY SCORE 2.57

    DB:2.57:Ignore Awake Function Call To Destroy Game Object If Character Enters Trigger pj



    Yes the coroutine will stop when the game object it destroyed. Instead make the latter part of the code a separate coroutine on the player and run it there...

    DB:2.57:Ignore Awake Function Call To Destroy Game Object If Character Enters Trigger pj


    Yes the coroutine will stop when the game object it destroyed. Instead make the latter part of the code a separate coroutine on the player and run it there...

  • RELEVANCY SCORE 2.57

    DB:2.57:Imp Tool: Function Of Parameter Ignore? xc


    Hello everybody,
    during using of IMP tool appeares this message ignore?
    yes or not

    What does it mean?

  • RELEVANCY SCORE 2.57

    DB:2.57:Datagridview Currency Formatting Not Applied After User Changes Value. c7


    I just came across the DataGridView FAQ that Mark Rideout put together.n******sp; It was really helpful ******ut I am still having a pro******lem.n******sp; I created a DataGridView that has a column that will display currencies.n******sp; When I created the DataGridView at design time I set the DefaultCellStyle of the column to ******e a 'Currency' (i.e., {Format = C0}).n******sp; This works well when I first populate the list using code similar to this:
    n******sp;
    dgv.Rows.Clear();
    for( int i = 0; i myItems.count; i ++ )
    {
    n******sp;n******sp; m = myItems;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;//myItems is an ArrayList
    n******sp;
    n******sp;n******sp; dgv.Rows.Add();n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp;n******sp; //Add a row to the datagrid view
    n******sp;
    n******sp;n******sp; dgv[0, i].Value = m.CurrencyValue;
    }
    n******sp;
    The 0th column of the DataGridView displays values with a $ sign in front of them.n******sp; However, when I click on a cell in column 0 at run time and change the value, the $ sign never reappears.n******sp; I have messing around in the CellValidating Event Handler for my DataGridView ******ut cannot find a way to force the cells in column 0 to display their formatted value.
    n******sp;
    In the CellValidating Event Handler I see that dgv.CurrentCell.EditedFormattedValue is set ton******sp;new valuen******sp;and that the DataGridViewCellValidatingEventArgs parameter (e) hast its FormattedValue set to the new value.n******sp; To restate my question, how do I display the new value with formatting applied?
    n******sp;
    Any help would ******e appreciated.

    DB:2.57:Datagridview Currency Formatting Not Applied After User Changes Value. c7

     
    Hi e_livesay,
    Based on my understanding, you problem is that you have set the DefaultCellStyle for a column in the DataGridView to Currency, but when you add rows or edit the cell’s value, the display value doesn’t be formatted well, right? If so, the most probable reason is that you didn’t specify the data type for that column. When you want to format a column to Currency, the data type of that column must be decimal. Please try the following code:

    Code Snippet

  • RELEVANCY SCORE 2.57

    DB:2.57:How To Find String Length Of Size 100kb f8


    Hi all,
    I have one table.

    sqlselect * from req_b;

    reqid requesttext
    1 aaaaaa
    2 bbbbbb
    3 ccccccc

    with reference to this table i need to write one logic inside plsq block where i need to handle those reqid whose requesttext length should be less than 100kb or i can say like this i need to ignore those reqid whose length is greater than 100kb

    i know about length,lengthb and vsize function but not sure whether it will solve the purpose or not.
    Kindly provide me some information to implement this.

    Thanks n regards
    Laxman

    DB:2.57:How To Find String Length Of Size 100kb f8

    In this case the database has a multibyte character set: to get length in bytes (and not in characters) I think that LENGTHB should be used instead of LENGTH: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions076.htm#i77725

  • RELEVANCY SCORE 2.57

    DB:2.57:Georaster. Cell Value Not Being Scaled 1s


    Hi,
    I am having problems with scaling the cell value according to the scaling function specified in the metadata. The values in the cells are retrieved as they are stored when I am using sdo_geor.getcellvalue and they are not scaled according to the scaling function specified. How to get the scaled values? The following is my metadata:

    /**********************************************************/
    "georasterMetadata xmlns=\"http://xmlns.oracle.com/spatial/georaster\"\n"+
    "objectInfo\n"+
    "rasterType21001/rasterType\n"+
    "ID"+rasterId+"/ID\n"+
    "isBlankfalse/isBlank\n"+
    "/objectInfo\n"+
    "rasterInfo\n"+
    "cellRepresentationUNDEFINED/cellRepresentation\n"+
    "cellDepth8BIT_U/cellDepth\n"+
    "totalDimensions3/totalDimensions\n"+
    "dimensionSize type=\"COLUMN\"\n"+
    "size1536/size\n"+
    "/dimensionSize\n"+
    "dimensionSize type=\"ROW\"\n"+
    "size768/size\n"+
    "/dimensionSize\n"+
    "dimensionSize type=\"BAND\"\n"+
    "size5/size\n"+
    "/dimensionSize\n"+
    "ULTCoordinate\n"+
    "row0/row\n"+
    "column0/column\n"+
    "band0/band\n"+
    "/ULTCoordinate\n"+
    "blocking\n"+
    "typeREGULAR/type\n"+
    "totalRowBlocks3/totalRowBlocks\n"+
    "totalColumnBlocks6/totalColumnBlocks\n"+
    "totalBandBlocks1/totalBandBlocks\n"+
    "rowBlockSize256/rowBlockSize\n"+
    "columnBlockSize256/columnBlockSize\n"+
    "bandBlockSize5/bandBlockSize\n"+
    "/blocking\n"+
    "interleavingBIP/interleaving\n"+
    "pyramid\n"+
    "typeNONE/type\n"+
    "maxLevel0/maxLevel\n"+
    "/pyramid\n"+
    "compression\n"+
    "typeNONE/type\n"+
    "/compression\n"+
    "/rasterInfo\n"+
    "spatialReferenceInfo\n"+
    "isReferencedtrue/isReferenced\n"+
    "isRectifiedfalse/isRectified\n"+
    "descriptiongeoreferenced SSMI data/description\n"+
    "SRID8307/SRID\n"+
    "spatialResolution dimensionType=\"X\"\n"+
    "resolution0.25/resolution\n"+
    "/spatialResolution\n"+
    "spatialResolution dimensionType=\"Y\"\n"+
    "resolution0.25/resolution\n"+
    "/spatialResolution\n"+
    "modelCoordinateLocationCENTER/modelCoordinateLocation\n"+
    "modelTypeFunctionalFitting/modelType\n"+
    "polynomialModel rowOff=\"0\" columnOff=\"0\" xOff=\"0\" yOff=\"0\" zOff=\"0\" rowScale=\"1\" columnScale=\"1\" xScale=\"1\" yScale=\"1\" zScale=\"1\"\n"+
    "pPolynomial nVars=\"2\" order=\"1\" nCoefficients=\"3\"\n"+
    "polynomialCoefficients355.5000000000000 0 4.0000000000000/polynomialCoefficients\n"+
    "/pPolynomial\n"+
    "qPolynomial nVars=\"0\" order=\"0\" nCoefficients=\"1\"\n"+
    "polynomialCoefficients1/polynomialCoefficients\n"+
    "/qPolynomial\n"+
    "rPolynomial nVars=\"2\" order=\"1\" nCoefficients=\"3\"\n"+
    "polynomialCoefficients-0.5000000000000 4.0000000000000 0/polynomialCoefficients\n"+
    "/rPolynomial\n"+
    "sPolynomial nVars=\"0\" order=\"0\" nCoefficients=\"1\"\n"+
    "polynomialCoefficients1/polynomialCoefficients\n"+
    "/sPolynomial\n"+
    "/polynomialModel\n"+
    "/spatialReferenceInfo\n"+
    "temporalReferenceInfo\n"+
    "isReferencedfalse/isReferenced\n"+
    "/temporalReferenceInfo\n"+
    "layerInfo\n"+
    "layerDimensionBAND/layerDimension\n"+
    "subLayer\n"+
    "layerNumber1/layerNumber\n"+
    "layerDimensionOrdinate0/layerDimensionOrdinate\n"+
    "layerIDSSMI1/layerID\n"+
    "scalingFunction\n"+
    "a00/a0\n"+
    "a10.2/a1\n"+
    "b01/b0\n"+
    "b10/b1\n"+
    "/scalingFunction\n"+
    "/subLayer\n"+
    "subLayer\n"+
    "layerNumber2/layerNumber\n"+
    "layerDimensionOrdinate1/layerDimensionOrdinate\n"+
    "layerIDSSMI2/layerID\n"+
    "scalingFunction\n"+
    "a00.0/a0\n"+
    "a10.3/a1\n"+
    "b01.0/b0\n"+
    "b10.0/b1\n"+
    "/scalingFunction\n"+
    "/subLayer\n"+
    "subLayer\n"+
    "layerNumber3/layerNumber\n"+
    "layerDimensionOrdinate2/layerDimensionOrdinate\n"+
    "layerIDSSMI3/layerID\n"+
    "scalingFunction\n"+
    "a00.0/a0\n"+
    "a10.01/a1\n"+
    "b01.0/b0\n"+
    "b10.0/b1\n"+
    "/scalingFunction\n"+
    "/subLayer\n"+
    "subLayer\n"+
    "layerNumber4/layerNumber\n"+
    "layerDimensionOrdinate3/layerDimensionOrdinate\n"+
    "layerIDSSMI4/layerID\n"+
    "scalingFunction\n"+
    "a00.0/a0\n"+
    "a10.1/a1\n"+
    "b01.0/b0\n"+
    "b10.0/b1\n"+
    "/scalingFunction\n"+
    "/subLayer\n"+
    "/layerInfo\n"+
    "sourceInfoSSMI image/sourceInfo\n"+
    "/georasterMetadata\n";
    /**********************************************************/

    Thanks,
    Upendra

    DB:2.57:Georaster. Cell Value Not Being Scaled 1s

    Thanks Qingyun for your reply. That helps.

    Upendra

  • RELEVANCY SCORE 2.56

    DB:2.56:Ignore Awake Function Call To Destroy Game Object If Character Enters Trigger cc



    Yes the coroutine will stop when the game object it destroyed. Instead make the latter part of the code a separate coroutine on the player and run it there...

    DB:2.56:Ignore Awake Function Call To Destroy Game Object If Character Enters Trigger cc


    Yes the coroutine will stop when the game object it destroyed. Instead make the latter part of the code a separate coroutine on the player and run it there...

  • RELEVANCY SCORE 2.56

    DB:2.56:Conversion Failed When Converting Varchar Value N To Data Type Bit pa


    I am creating a SSIS package which will fetch data from source Oracle database table and load the destination SQL Server Table.
    In the destination SQL Server Table, I have a column of 'BIT' data type which is a nullable column. I dont get this column's value from source table. So I just map ignore to this column in OLEDB Destination.
    When I execute the package, i get the below error:
    Conversion failed when converting varchar value 'N' to data type bit
    I could figure out that since the ignore is passed as 'Null' to destination table, and since the destination table is expecting only one character space, it takes the first letter 'N' andthrows the above error.
    I tried creating a derived column with value '1' and tried to pass to this column. Still same error. I also tried to pass as derived column with value
    (DT_BOOL) NULLto this column. I am still getting this error.
    Did anybody face similar issue? Please help.
    Thanks in advance.

    DB:2.56:Conversion Failed When Converting Varchar Value N To Data Type Bit pa

    You don't put parameters in it - just craft the SELECT statement as if you were reading the columns you wanted - no WHERE clause, nothing special. Just SELECT col1, col2, col3 FROM tableA

    Talk to me now on

  • RELEVANCY SCORE 2.56

    DB:2.56:Syslog Formatting Issue 7f


    Hi,I am using log4j syslog appender to redirect the logs to the solaris syslog.However, I am facing issue in formatting. It is not able to interpretnew line characters and is printing \n as it is.Ex: Following is getting written into the syslog file."[ExceptionList]\n [RecoverableException ('MQROOT')]\n File = '/build/S700_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp' (String)\n Line = '1258' (Integer)\n Function = 'ImbJniNode"I know in Linux (Ubuntu) we have option to escape the control characters by specifying below option in syslog config file."$EscapeControlCharactersOnReceive off"Please let me know if we have similar option in Solaris? how to resolve this please help

    DB:2.56:Syslog Formatting Issue 7f

    Is there any other setting/configuration that we can do in syslog to interpret escape characters and print newline characters (\n) properly?

  • RELEVANCY SCORE 2.56

    DB:2.56:How To Get A Tabular-Field Value Into A Java-Function?????? mj


    Hi all!
    I never get any response to my threads, WHY??
    Can any please help me with this.

    How can I send a tabular field value into a java function?
    I have this function made: function displayValue(Value)
    {
    alert('The Value is ' + Value );
    }

    and the following query:

    select
    htmldb_item.select_list_from_query(30,'N','select ''Y'' disp,''Y'' flag
    from dual UNION select ''N'',''N'' from dual','onChange="javascript:displayValue(#ROWNUM#);"', 'NO') SELECT_FLAG,
    ...
    ...

    I then get the message 'The Value is 3' if I change the select flag .

    How can I check it the value of the select_flag is 'Y' or 'N', is there a similar way as in plsql using the HTMLDB_APPLICATION.G_F01(i) ?

    PLEAAAAAASSSSE!

  • RELEVANCY SCORE 2.56

    DB:2.56:Adf Faces &Amp; Bc: Subversion "Ignore" List 91


    I'm in the process of tuning our svn repository and one of the issues is files that are always modified but should be kept local.

    I currently have the following two file types under global-ignore
    *.class
    *.xcfg

    Does anyone else have a similar list?

    DB:2.56:Adf Faces &Amp; Bc: Subversion "Ignore" List 91

    I'm in the process of tuning our svn repository and one of the issues is files that are always modified but should be kept local.

    I currently have the following two file types under global-ignore
    *.class
    *.xcfg

    Does anyone else have a similar list?

  • RELEVANCY SCORE 2.56

    DB:2.56:Convert To Javascript 97



    This function translated to Unityscript becomes:


    function Noise2d(x: int, y: int): float {
    var n: uint = x;
    n ^= 0xaacff006;
    n = 0xdc3deee5;
    n = (n13) | (n19);
    n += y;
    n ^= 0x0a87317a;
    n = 0x38656b5e;
    n = (n13) | (n19);
    n += 0xa6c5636a;
    n = 0x7d4677b3;
    n = (n13) | (n19);
    n ^= 0x57a90182;
    n = 0xe09358ab;
    var inv_2_31 = 1.0f / 2147483648.0f;
    var res = 1.0f - n * inv_2_31;
    return res;
    }
    But there's a big problem: it compiles, but doesn't work! This function gives Overflow Errors in several lines, because the runtime functions check overflow in most operations.

    If the values of x and y are relatively small (-32000..32000) the hex constants may be reduced to 16 bits, and with some care they will never overflow. The resultant script is:


    function Noise2d(x: int, y: int): float {
    var n: uint = x;
    n ^= 0xf006;
    n = 0xeee5;
    n = ((n13) ^ (n19)) 0xffff;
    n += y;
    n ^= 0x317a;
    n = 0x6b5e;
    n = ((n13) ^ (n19)) 0xffff;
    n += 0x636a;
    n = 0x77b3;
    n = ((n13) ^ (n19)) 0xffff;
    n ^= 0x0182;
    n = (n 0x58ab) 0xffff;
    return 1.0 - n / 32768.0;
    }
    This function works fine, and returns pseudo-random values between -1 and +1.

    DB:2.56:Convert To Javascript 97


    This function translated to Unityscript becomes:


    function Noise2d(x: int, y: int): float {
    var n: uint = x;
    n ^= 0xaacff006;
    n = 0xdc3deee5;
    n = (n13) | (n19);
    n += y;
    n ^= 0x0a87317a;
    n = 0x38656b5e;
    n = (n13) | (n19);
    n += 0xa6c5636a;
    n = 0x7d4677b3;
    n = (n13) | (n19);
    n ^= 0x57a90182;
    n = 0xe09358ab;
    var inv_2_31 = 1.0f / 2147483648.0f;
    var res = 1.0f - n * inv_2_31;
    return res;
    }
    But there's a big problem: it compiles, but doesn't work! This function gives Overflow Errors in several lines, because the runtime functions check overflow in most operations.

    If the values of x and y are relatively small (-32000..32000) the hex constants may be reduced to 16 bits, and with some care they will never overflow. The resultant script is:


    function Noise2d(x: int, y: int): float {
    var n: uint = x;
    n ^= 0xf006;
    n = 0xeee5;
    n = ((n13) ^ (n19)) 0xffff;
    n += y;
    n ^= 0x317a;
    n = 0x6b5e;
    n = ((n13) ^ (n19)) 0xffff;
    n += 0x636a;
    n = 0x77b3;
    n = ((n13) ^ (n19)) 0xffff;
    n ^= 0x0182;
    n = (n 0x58ab) 0xffff;
    return 1.0 - n / 32768.0;
    }
    This function works fine, and returns pseudo-random values between -1 and +1.

  • RELEVANCY SCORE 2.55

    DB:2.55:How To Select Only The First Continuous Set Of Satisfying Criteria And Ignore The Rest In A "Long" Table? js



    My data needs to look like this

    id want yes/no

    1 1 y

    1 1 y

    1 1 y

    1 0 n

    1 0 n

    1 1 n

    1 1 n

    2 1 y

    2 1 y

    2 0 n

    2 1 n

    2 1 n

    2 0 n

    2 1 n

    2 1 n

    basically for each id, I want "y" only for the first continuous want = 1. From the point want = 0, I want to ignore the subsequent rows for that di even if want =1 again for that id.

    This is represented by "y" and "n". I need to know how to code so I get the right "y"s and "n"s. I tried do until and do while but my inexperience makes them inexecutable.

    Thanks.


    DB:2.55:How To Select Only The First Continuous Set Of Satisfying Criteria And Ignore The Rest In A "Long" Table? js


    Hi Patrick,

    Thank you. Your code works too! It is nice to know how different lines produce the same result because they make different use of similar logic.

    Thanks again.

  • RELEVANCY SCORE 2.55

    DB:2.55:Alg And Dmz ad



    Greetings,

    Is the SIP ALG setting global, or will the DMZ function on the router ignore the ALG setting?

    Thanks,

    Rod

    DB:2.55:Alg And Dmz ad

    I wish to understand the issues your having here.

    What are the problems you've encountered withyour phone?

    What's the router's model?

    Research somethings from the web, hope this could help.

    http://www.voip-info.org/wiki/view/Routers+SIP+ALG

    http://www.voipvoip.com/customer-care/voip-router.html

  • RELEVANCY SCORE 2.55

    DB:2.55:Function About Output Mapping In Nwbpm d3



    HI all

    I am using PO 7.31 BPM, it receive request message with following structure ( note: this is sync process, I used BPM to return response message)

    Data structure:

    MT - Notification

    root Event 1:1

    EventList 0:N

    field 1 0:1

    field 2 0:1

    EventCode

    Event code could be: "Power Failed", "Power Restored", "Over Voltage" etc.. there are over 10 other event code values.

    After BPM received the message, I need to filter out eventList with eventCode = "Power Failed" or "Power Restored", and ignore other types of events.

    if there is no those two evenCode,

    Similar to xslt syntax:

    xsl:copy-of select="Notification/Event /EventList [EventCode='Power Failed' or EventCode='Power Restored']" /

    I explored the function that BPM provided, it seems I could not find right function to achieve this.

    Anyone has experience on this to share your thoughts ?

    Thanks

    -Liang

    DB:2.55:Function About Output Mapping In Nwbpm d3


    HI all

    I am using PO 7.31 BPM, it receive request message with following structure ( note: this is sync process, I used BPM to return response message)

    Data structure:

    MT - Notification

    root Event 1:1

    EventList 0:N

    field 1 0:1

    field 2 0:1

    EventCode

    Event code could be: "Power Failed", "Power Restored", "Over Voltage" etc.. there are over 10 other event code values.

    After BPM received the message, I need to filter out eventList with eventCode = "Power Failed" or "Power Restored", and ignore other types of events.

    if there is no those two evenCode,

    Similar to xslt syntax:

    xsl:copy-of select="Notification/Event /EventList [EventCode='Power Failed' or EventCode='Power Restored']" /

    I explored the function that BPM provided, it seems I could not find right function to achieve this.

    Anyone has experience on this to share your thoughts ?

    Thanks

    -Liang

  • RELEVANCY SCORE 2.55

    DB:2.55:Partition Function Deployment xs


    When deploying a DACPAC, is there a way to ignore changes to a partition function? I found the Ignore Partition Schemes in the Advanced Publish Settings; as well as the Ignore object placement of partition schemes;
    however, if I modify the partition function AND the partition scheme, the schema changes are ignored.
    Our production DBA group wants to keep their own partitionsmay (and probably will) differ from the partitions in my pre-production environments. I'd like to be able to ignore differences in the partition scheme.
    Looking at the TechNet article (http://technet.microsoft.com/en-us/library/microsoft.sqlserver.dac.dacdeployoptions.ignorepartitionschemes.aspx),
    it appears this property should cause partitioning to be ignored. However, in a local publish, I am seeing the changed partition scheme and partition function being modified.
    Is there a workaround? Is this a known issue? Or am I doing something wrong?
    Thanks for your help!
    -jon

    DB:2.55:Partition Function Deployment xs


    this has been fixed in the latest version of SSDT. version 11.1.30914.0

    awesome. Thank you for taking the time to let us know.ObjectStorageHelperT – A WinRT utility for Windows 8 |
    http://sqlblog.com/blogs/jamie_thomson/ |
    @jamiet |
    About me

  • RELEVANCY SCORE 2.55

    DB:2.55:3000 N 100 Xp Downgrade From Vista, Lenovo Help Program Issues 9j


    I recently downgraded my 3000 N100 from Vista to XP. Clean install with all drivers downloaded as well. The only issue that has surfaced is that the Lenovo Help program will not open and the one touch toolbox key on the keyboard will not function. Anyone had a similar issue? Any ideas will ge greatly appreciated.

    DB:2.55:3000 N 100 Xp Downgrade From Vista, Lenovo Help Program Issues 9j

    did you have issues with your dvd drive? ive had issues for over a year, and my laptop has basically been useless to me with the vista thing. Anyways, how did you downgrade? how do i go about fixing these issues? It is really bothering me and I will definately never buy another lenovo product again. Why spend over $700 on something that wasn't right from the start?

  • RELEVANCY SCORE 2.55

    DB:2.55:First Character Of A String? pc



    Hi,

    I am looping through a fixed width text file and importing the data into a database.

    I have one problem, some of the lines of data beging with a "[" character, i would like to get CF to ignore these lines of data.

    I have looked for a Beginswith function or something similar but cannot find anything.

    Ideas? Thanks in advance!

    DB:2.55:First Character Of A String? pc


    Indeed this is perhaps a better example:

    cfoutput#s.getClass().getName()#/cfoutput

    No need.

    On looking more closely @ your code now, just another thing: there's
    no need to specifically create a Java string the way you do there: CF
    strings are already Java strings. And of course CF lists (or list
    elements in this case) are - likewise - just strings.

    One can just do this (for example):

    cfset s = "foo"cfoutput#s.startsWith("f")#/cfoutput

    Naturally. Sometimes one continues discharging the bazooka when there's no longer the enemy chinook, but a mosquito.

  • RELEVANCY SCORE 2.54

    DB:2.54:Re: How To Ignore Case In Hashset/Arraylist??? ap


    oh......and please make sure that u dont overwrite the arraylist, sa.

    i need the same formatting as i wan it to appear in the jtextarea...bUt with the result filtered by the ignore case function!

    DB:2.54:Re: How To Ignore Case In Hashset/Arraylist??? ap

    guys......i'm glad that all of u r eager to answer my Q...
    i havent tried the codes yet....coz i'm having my exam this 2 weeks.....i'll be back later!.....tqtq

  • RELEVANCY SCORE 2.54

    DB:2.54:Js Lib Sets Window.Init And Crashes Our Site z9


    Feedback here

    We've just had to remove App Insights client js lib, from our site.
    You are setting the init function in the global scope, causing some of our legacy code to fail. If we are going to rely on your service, it can't continue to be this buggy (we've had other crashes aswell).

    var __extends,Microsoft,field;if(function(n){(function(n){var t=function(){function n(){}return n.throwInternal=function(t){if(n.enableDebugExceptions())throw t;else n._warn(t)},n.warnInternal=function(t){n.enableDebugExceptions()n._warn(t)},n._warn=function(n){if(consoletypeof console.warn==function)console.warn(n);else try{console.log(n)}catch(t){}},n.enableDebugExceptions=function(){return!1},n}();n._InternalLogging=t})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){var t=function(){function n(){}return n.setCookie=function(t,i){n.document.cookie=t=i},n.getCookie=function(t){var e=,f,u,r,i;if(tt.length)for(f=t=,u=n.document.cookie.split(;),r=0;ru.length;r)if(i=u[r],i=n.trim(i),ii.indexOf(f)===0){e=i.substring(f.length,u[r].length);break}return e},n.trim=function(n){return n.replace(/^\s|\s$/g,)},n.newGuid=function(){for(var u,n=[0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F],i=,t,r=0;r4;r)t=4294967296*Math.random()|0,i=n[t15]n[t415]n[t815]n[t1215]n[t1615]n[t2015]n[t2415]n[t2815];return u=n[8Math.random()*4|0],i.substr(0,8)-i.substr(9,4)-4i.substr(13,3)-ui.substr(16,3)-i.substr(19,12)},n.isArray=function(n){return Object.prototype.toString.call(n)===[object Array]},n.isError=function(n){return Object.prototype.toString.call(n)===[object Error]},n.toISOStringForIE8=function(n){function t(n){var t=String(n);return t.length===1(t=0t),t}return Date.prototype.toISOString?n.toISOString():n.getUTCFullYear()-t(n.getUTCMonth()1)-t(n.getUTCDate())Tt(n.getUTCHours()):t(n.getUTCMinutes()):t(n.getUTCSeconds()).String((n.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)Z},n.msToTimeSpan=function(n){(isNaN(n)||n0)(n=0);var t=n%1e3,i=Math.floor(n/1e3)%60,r=Math.floor(n/6e4)%60,u=Math.floor(n/36e5)%24;return t=t.length===1?00t:t.length===2?0t:t,i=i.length2?0i:i,r=r.length2?0r:r,u=u.length2?0u:u,u:r:i.t},n.document=document,n}();n.Util=t})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){var t=function(){function t(){}return t.serialize=function(n){var i=t._serializeObject(n,root);return JSON.stringify(i)},t._serializeObject=function(i,r){var e=__aiCircularRefCheck,f={},u,s;if(!i)return n._InternalLogging.throwInternal(source is null),f;if(i[e])return n._InternalLogging.throwInternal(Circular reference detected while serializing: 'r),f;if(!i.aiDataContract){if(r===measurements)f=t._serializeStringMap(i,number,r);else if(r===properties)f=t._serializeStringMap(i,string,r);else{n._InternalLogging.warnInternal(Attempting to serialize an object which does not implement ISerializable: r);try{JSON.stringify(i);f=i}catch(o){n._InternalLogging.throwInternal(otypeof o.toString==function?o.toString():Error serializing object)}}return f}i[e]=!0;for(u in i.aiDataContract){var h=i.aiDataContract[u],c=typeof h!=boolean,l=i[u]!==undefined,a=typeof i[u]==objecti[u]!==null;if(h!l!c){n._InternalLogging.throwInternal(Missing required field specification: The field 'u' is required but not present on source);continue}s=a?c?t._serializeArray(i[u],u):t._serializeObject(i[u],u):i[u];s!==undefined(f[u]=s)}return delete i[e],f},t._serializeArray=function(i,r){var f=undefined,u,e,o;if(!!i)if(n.Util.isArray(i))for(f=[],u=0;ui.length;u)e=i[u],o=t._serializeObject(e,r[u]),f.push(o);else n._InternalLogging.throwInternal(This field was specified as an array in the contract but the item is not an array.\r\nr);return f},t._serializeStringMap=function(t,i,r){var u=undefined,f,e;if(t){u={};for(f in t)e=t[f],typeof e===i?u[f]=e:(u[f]=invalid field: r, the value must be of type:i,n._InternalLogging.warnInternal(u[f]))}return u},t}();n.Serializer=t})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){(function(n){use strict;var t=function(){function n(t,i,r){this.ver=1;this.properties=i;this.measurements=r;this.aiDataContract=n.extendContract({ver:!0,measurements:!1,properties:!1},t)}return n.extendContract=function(n,t){n||t(n={});for(var i in t)n[i]=t[i];return n},n}();n.Item=t})(n.Common||(n.Common={}));var t=n.Common})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){(function(n){use strict;var t=function(){function n(n,t){this.aiDataContract={name:!0,item:!0};this.name=n;this.item=t}return n}();n.Data=t})(n.Common||(n.Common={}));var t=n.Common})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){(function(t){use strict;var i=function(){function t(){this.aiDataContract={sdkVersion:!0};this.sdkVersion=n.Version}return t}();t.Internal=i})(t.Common||(t.Common={}));var i=t.Common})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var t=function(){function n(n){this.aiDataContract={ver:!1,id:!1};this.id=n}return n}();n.Application=t})(n.Context||(n.Context={}));var t=n.Context})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var t=function(){function n(){this.aiDataContract={type:!1,id:!0,os:!0,osVersion:!0,oemName:!1,model:!1,network:!1,resolution:!1,locale:!0};this.id=browser;this.getOsInfo(navigatornavigator.appVersion);screenscreen.widthscreen.height(this.resolution=screen.widthXscreen.height);this.locale=navigatornavigator.browserLanguage?navigator.browserLanguage:unknown}return n.prototype.getOsInfo=function(n){this.os=unknown;this.osVersion=unknown;var t=function(t){return n.indexOf(t)!==-1};n(t(Win)?(this.os=Windows,t(Windows NT 6.3)?this.osVersion=8.1:t(Windows NT 6.2)?this.osVersion=8:t(Windows NT 6.1)?this.osVersion=7:t(Windows NT 6.0)?this.osVersion=Vista:t(Windows NT 5.1)?this.osVersion=XP:t(Windows NT 5.0)(this.osVersion=2000)):t(Mac)?(this.os=MacOS,this.osVersion=t(iPad)||t(iPhone)||t(iPod)?iOS:OSX):t(X11)?this.os=UNIX:t(Linux)(this.os=Linux,t(Android)(this.osVersion=Android)))},n}();n.Device=t})(n.Context||(n.Context={}));var t=n.Context})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var t=function(){function n(){this.aiDataContract={Latitude:!1,Longitude:!1,IP:!1,Continent:!1,Country:!1,Province:!1,City:!1}}return n}();n.Location=t})(n.Context||(n.Context={}));var t=n.Context})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){var i=function(){function t(){this.aiDataContract={id:!0};this.id=n.Util.newGuid()}return t}();t.Operation=i})(n.Context||(n.Context={}));var t=n.Context})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){var i=function(){function t(i){var u,r,f,e;this.aiDataContract={id:!0,isFirst:!1,isNewSession:!1};i||(i={});typeof i.sessionExpirationMs==function||(i.sessionExpirationMs=function(){return t.acquisitionSpan});typeof i.sessionRenewalMs==function||(i.sessionRenewalMs=function(){return t.renewalSpan});this.config=i;u=n.Util.getCookie(ai_session);utypeof u.split==function(r=u.split(|),r.length0(this.id=r[0]),r.length1(f=r[1],this.acquisitionDate=new Date(f),this.acquisitionDate=this.acquisitionDate0?this.acquisitionDate:0),r.length1(e=r[1],this.renewalDate=new Date(e),this.renewalDate=this.renewalDate0?this.renewalDate:0));this.id||(this.renew(),this.isNewSession=!0,this.isFirst=!0)}return t.prototype.update=function(){var n=new Date,t=n-this.acquisitionDatethis.config.sessionExpirationMs(),i=n-this.renewalDatethis.config.sessionRenewalMs();this.isFirst=undefined;t||i?(this.renew(),this.isNewSession=!0):(this.renewalDate=new Date,this.setCookie(this.id,this.acquisitionDate,this.renewalDate),this.isNewSession=!1)},t.prototype.renew=function(){this.id=n.Util.newGuid();var t=new Date;this.acquisitionDate=t;this.renewalDate=t;this.setCookie(this.id,this.acquisitionDate,this.renewalDate)},t.prototype.setCookie=function(t,i,r){var u=n.Util.toISOStringForIE8(new Date(i)),f=n.Util.toISOStringForIE8(new Date(r)),e=[t,u,f];n.Util.setCookie(ai_session,e.join(|))},t.acquisitionSpan=864e5,t.renewalSpan=18e5,t}();t.Session=i})(n.Context||(n.Context={}));var t=n.Context})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){var i=function(){function t(t){var i,r;this.aiDataContract={id:!0,accountId:!1};i=n.Util.getCookie(ai_user);i(r=i.split(|),r.length0(this.id=r[0]));this.id||(this.id=n.Util.newGuid(),n.Util.setCookie(ai_user,this.id));this.accountId=t}return t}();t.User=i})(n.Context||(n.Context={}));var t=n.Context})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){(function(t){use strict;var i=function(){function i(i,r){this.ver=1;this.name=i;this.data=r;this.time=n.Util.toISOStringForIE8(new Date);this.aiDataContract={ver:!0,name:!0,time:!0,iKey:!0,device:!1,application:!1,user:!1,operation:!1,location:!1,session:!1,data:!0,internal:!1};this.internal=new t.Internal}return i}();t.Base=i})(t.Common||(t.Common={}));var i=t.Common})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){var t=function(){function t(n){if(this._buffer=[],this._lastSend=0,this._config=n,this._sender=null,typeof XMLHttpRequest!=undefined){var t=new XMLHttpRequest;withCredentialsin t?this._sender=this._xhrSender:typeof XDomainRequest!=undefined(this._sender=this._xdrSender)}}return t.prototype.send=function(t){var r=this,i;if(!t){n._InternalLogging.throwInternal(Cannot send empty telemetry);return}if(!this._sender){n._InternalLogging.throwInternal(No sender could be constructed for this environment, payload will be added to buffer.n.Serializer.serialize(t));return}i=n.Serializer.serialize(t);i.lengththis._config.maxPayloadSizeInBytes()(t=this._truncate(t,i.length),i=n.Serializer.serialize(t));this._getSizeInBytes(this._buffer)i.lengththis._config.maxPayloadSizeInBytes()this.triggerSend();this._buffer.push(i);this._timeoutHandle||(this._timeoutHandle=setTimeout(function(){r._timeoutHandle=null;r.triggerSend()},this._config.bufferMaxInterval()))},t.prototype._getSizeInBytes=function(n){var r=0,t,i;if(nn.length)for(t=0;tn.length;t)i=n[t],ii.length(r=i.length);return r},t.prototype._truncate=function(n){if(nn.datan.data.item){var t=this._config.maxPayloadSizeInBytes();n.data.item.properties={Error:optional fields truncated because they exceeded: t bytes};delete n.data.item.measurements}return n},t.prototype.triggerSend=function(){if(this._buffer.length){var n=[this._buffer.join(,)];this._sender(n)}this._buffer.length=0;clearTimeout(this._timeoutHandle);this._timeoutHandle=null;this._lastSend=new Date},t.prototype._xhrSender=function(n){var i=new XMLHttpRequest;i.open(POST,this._config.endpointUrl(),!0);i.setRequestHeader(Content-type,application/json);i.onreadystatechange=function(){return t._xhrReadyStateChange(i,n)};i.onerror=function(r){return t._onError(n,i.responseText||i.response||,r)};i.send(n)},t.prototype._xdrSender=function(n){var i=new XDomainRequest;i.onload=function(){return t._xdrOnLoad(i,n)};i.onerror=function(r){return t._onError(n,i.responseText||,r)};i.open(POST,this._config.endpointUrl());i.send(n)},t._xhrReadyStateChange=function(n,i){n.readyState===4((n.status200||n.status=300)n.status!==0?t._onError(i,n.responseText||n.response||):t._onSuccess(i))},t._xdrOnLoad=function(n,i){n(n.responseText==200||n.responseText===)?t._onSuccess(i):t._onError(i,nn.responseText||)},t._onError=function(t,i){n._InternalLogging.throwInternal(Failed to send telemetry:\ni\n\nPayload:\nt)},t._onSuccess=function(){},t}();n.Sender=t})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),__extends=this.__extends||function(n,t){function r(){this.constructor=n}for(var i in t)t.hasOwnProperty(i)(n[i]=t[i]);r.prototype=t.prototype;n.prototype=new r},function(n){(function(n){(function(n){var i=function(i){function r(u,f,e){var o=new n.Common.Data(Microsoft.ApplicationInsights.MessageData,new t(u,f,e));i.call(this,r.type,o)}return __extends(r,i),r.type=Microsoft.ApplicationInsights.Message,r}(n.Common.Base),t;n.Trace=i;t=function(){function n(n,t,i){this.aiDataContract={ver:!0,message:!0,measurements:!1,properties:!1};this.ver=1;this.message=n;this.properties=t;this.measurements=i}return n}()})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){(function(t){use strict;var i=function(t){function i(i,r,u,f,e){t.call(this,{name:!1,url:!1,duration:!1},f,e);this.url=r;this.name=i;isNaN(u)||(this.duration=n.Util.msToTimeSpan(u))}return __extends(i,t),i}(t.Item);t.EventData=i})(t.Common||(t.Common={}));var i=t.Common})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var i=function(i){function r(){var u=new n.Common.Data(Microsoft.ApplicationInsights.AJAXCallData,new t);i.call(this,r.type,u)}return __extends(r,i),r.type=Microsoft.ApplicationInsights.AJAXCall,r}(n.Common.Base),t;n.AjaxCall=i;t=function(n){function t(){n.call(this,,,0,undefined,undefined);this.ver=1;this.ajaxURL=;this.requestSize=;this.responseSize=;this.timeToFIrstByte=;this.timetoLastByte=;this.callbackDuration=;this.reponseCode=;this.success=!0;this.aiDataContract={ver:!0,name:!0,url:!0,duration:!0,ajaxURL:!0,requestSize:!0,responseSize:!0,timeToFIrstByte:!0,timetoLastByte:!0,callbackDuration:!0,reponseCode:!0,success:!0,measurements:!1,properties:!1}}return __extends(t,n),t}(n.Common.EventData)})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var t=function(t){function i(r,u,f,e){var o=new n.Common.EventData(r,undefined,u,f,e),s=new n.Common.Data(Microsoft.ApplicationInsights.EventData,o);t.call(this,i.type,s)}return __extends(i,t),i.type=Microsoft.ApplicationInsights.Event,i}(n.Common.Base);n.Event=t})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){var r=function(n){function i(r,f,e,o){var s=new t.Common.Data(Microsoft.ApplicationInsights.ExceptionData,new u(r,f,e,o));n.call(this,i.type,s)}return __extends(i,n),i.type=Microsoft.ApplicationInsights.Exception,i}(t.Common.Base);t.Exception=r;var u=function(n){function t(t,i,r,u){n.call(this,{handledAt:!0,exceptions:[]},r,u);this.handledAt=i||unhandled;this.exceptions=[new f(t)]}return __extends(t,n),t}(t.Common.Item),f=function(){function n(n){this.aiDataContract={id:!1,outerId:!1,typeName:!0,message:!0,hasFullStack:!1,stack:!1,parsedStack:[]};this.typeName=n.name;this.message=n.message;this.stack=n.stack;this.parsedStack=this.parseStack(this.stack);this.hasFullStack=typeof this.parsedStack!=undefined}return n.prototype.parseStack=function(n){var u=undefined,r,f,t,e;if(typeof n==string)for(r=n.split(\n),u=[],f=0,t=0;tr.length;t)e=r[t],i.regex.test(e)u.push(new i(r[t],f));return u},n}(),i=function(){function t(i,r){this.method=;this.aiDataContract={level:!0,method:!0,assembly:!1,fileName:!1,line:!1};this.level=r;this.method=unavailable;this.assembly=n.Util.trim(i);var u=i.match(t.regex);uu.length=5(this.method=n.Util.trim(u[2]),this.fileName=n.Util.trim(u[4]),this.line=parseInt(u[5]))}return t.regex=/^([\s]at)?(.*?)(\@|\s\(|\s)([^\(\@\n]):([0-9]):([0-9])(\)?)$/,t}()})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var i=function(i){function r(u,f,e,o,s,h,c,l){var a=new t(u,f,e,o,s,h,c,l),v=new n.Common.Data(Microsoft.ApplicationInsights.MetricData,a);i.call(this,r.type,v)}return __extends(r,i),r.type=Microsoft.ApplicationInsights.Metric,r}(n.Common.Base),t;n.Metric=i;t=function(t){function i(i,r,u,f,e,o,s,h){t.call(this,{metrics:[]},s,h);this.metrics=[new n.Common.DataPoint(i,r,u,f,e,o)]}return __extends(i,t),i}(n.Common.Item)})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var t=function(t){function i(r,u,f,e,o){var s=new n.Common.Data(Microsoft.ApplicationInsights.PageviewData,new n.Common.EventData(r,u,f,e,o));t.call(this,i.type,s)}return __extends(i,t),i.type=Microsoft.ApplicationInsights.Pageview,i}(n.Common.Base);n.PageView=t})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){var i=function(n){function i(u,f,e,o,s){var h=new t.Common.Data(r.type,new r(u,f,e,o,s));n.call(this,i.type,h)}return __extends(i,n),i.checkPageLoad=function(){var t=undefined,n;return typeof window!=undefinedwindow.performancewindow.performance.timing(n=window.performance.timing,t=n.domainLookupStart0n.navigationStart0n.responseStart0n.requestStart0n.loadEventEnd0n.responseEnd0n.connectEnd0n.domLoading0),t},i.getDuration=function(n,t){var i=0;return isNaN(n)||isNaN(t)||n===0||t===0||(i=Math.max(t-n,0)),i},i.type=Microsoft.ApplicationInsights.PageviewPerformance,i}(t.Common.Base),r;t.PageViewPerformance=i;r=function(r){function u(u,f,e,o,s){if(typeof window!=undefinedwindow.performancewindow.performance.timing){var h=window.performance.timing,c=i.getDuration(h.navigationStart,h.loadEventEnd),l=i.getDuration(h.navigationStart,h.connectEnd),a=i.getDuration(h.requestStart,h.responseStart),v=i.getDuration(h.responseStart,h.responseEnd),y=i.getDuration(h.domLoading,h.loadEventEnd);e=c;this.perfTotal=n.Util.msToTimeSpan(c);this.networkConnect=n.Util.msToTimeSpan(l);this.sentRequest=n.Util.msToTimeSpan(a);this.receivedResponse=n.Util.msToTimeSpan(v);this.domProcessing=n.Util.msToTimeSpan(y)}r.call(this,u,f,e,o,s);this.aiDataContract=t.Common.Item.extendContract(this.aiDataContract,{perfTotal:!1,networkConnect:!1,sentRequest:!1,receivedResponse:!1,domProcessing:!1})}return __extends(u,r),u.type=Microsoft.ApplicationInsights.PageViewPerformanceData,u}(t.Common.EventData)})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){(function(t){use strict;var i=function(){function t(t,i,r,u,f,e){this.aiDataContract={name:!0,value:!0,type:!1,count:!1,min:!1,max:!1};this.name=t;this.value=i;r||(r=M);r!==Mr!==A(n._InternalLogging.throwInternal(Invalid type specified 'r', only 'M' or 'A' are allowed. Defaulting to 'M' for single metrics),r=M);this.type=r;this.count=u0?u:undefined;this.min=isNaN(f)||f===null?undefined:f;this.max=isNaN(e)||e===null?undefined:e}return t}();t.DataPoint=i})(t.Common||(t.Common={}));var i=t.Common})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(n){var i=function(i){function r(u,f,e,o,s,h,c,l){var a=new n.Common.Data(Microsoft.ApplicationInsights.RemoteDependencyData,new t(u,f,e,o,s,h,c,l));i.call(this,r.type,a)}return __extends(r,i),r.type=Microsoft.ApplicationInsights.RemoteDependency,r}(n.Common.Base),t;n.RemoteDependency=i;t=function(t){function i(i,r,u,f,e,o,s,h){t.call(this,u,f,e,o,s,h);this.ver=1;this.dependencyKind=i;this.resource=r;this.aiDataContract=n.Common.Item.extendContract(this.aiDataContract,{ver:!0,dependencyKind:!1,resource:!0,measurements:!1,properties:!1})}return __extends(i,t),i}(n.Common.DataPoint)})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){(function(t){var r=function(n){function r(u,f,e,o,s){var h=new t.Common.Data(i.type,new i(u,f,e,o,s));n.call(this,r.type,h)}return __extends(r,n),r.type=Microsoft.ApplicationInsights.Request,r}(t.Common.Base),i;t.Request=r;i=function(){function t(t,i,r,u,f){this.ver=1;this.name=;this.aiDataContract={ver:!0,name:!0,id:!1,startTime:!1,duration:!1,responseCode:!1,success:!1,measurements:!1,properties:!1};this.ver=1;this.id=n.Util.newGuid();this.name=t;this.startTime=n.Util.toISOStringForIE8(new Date(i));this.duration=n.Util.msToTimeSpan(r);this.responseCode=u.toString();this.success=f}return t.type=Microsoft.ApplicationInsights.RequestData,t}()})(n.Telemetry||(n.Telemetry={}));var t=n.Telemetry})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(n){use strict;var t=function(){function t(t){this._config=t;this._sender=new n.Sender(t);typeof window!=undefined(this.device=new n.Context.Device,this.application=t.appUserId()new n.Context.Application(t.appUserId()),this.user=new n.Context.User(t.accountId()),this.operation=new n.Context.Operation,this.session=new n.Context.Session(t))}return t.prototype.track=function(t){return t?(t.iKey=t.iKey||this._config.instrumentationKey(),t.device=t.device||this.device,t.user=t.user||this.user,t.session=t.session||this.session,t.application=t.application||this.application,t.operation=t.operation||this.operation,t.location=t.location||this.location,t.sessiontypeof t.session.update==functiont.session.update(),this._sender.send(t)):n._InternalLogging.throwInternal(Telemetry is null),t},t}();n.TelemetryContext=t})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(t){use strict;var r,i;t.Version=0.11.0.1;r=function(){function r(r){var u=this,f;this.config=r;t._InternalLogging.enableDebugExceptions=function(){return u.config.enableDebug};f={instrumentationKey:function(){return u.config.instrumentationKey},accountId:function(){return u.config.accountId},appUserId:function(){return u.config.appUserId},sessionRenewalMs:function(){return u.config.sessionRenewalMs},sessionExpirationMs:function(){return u.config.sessionExpirationMs},endpointUrl:function(){return u.config.endpointUrl},maxPayloadSizeInBytes:function(){return u.config.maxPayloadSizeInBytes},bufferMinInterval:function(){return u.config.bufferMinInterval},bufferMaxInterval:function(){return u.config.bufferMaxInterval}};this.context=new n.ApplicationInsights.TelemetryContext(f);this._eventTracking=new i(trackEvent);this._eventTracking.action=function(n,i,r,f,e){var o=new t.Telemetry.Event(n,r,f,e);u.context.track(o)};this._pageTracking=new i(trackPageView);this._pageTracking.action=function(n,i,r,f,e){var o=new t.Telemetry.PageView(n,i,r,f,e);u.context.track(o)}}return r.prototype.startTrackPage=function(n){typeof n!=string(n=window.documentwindow.document.title||);this._pageTracking.start(n)},r.prototype.stopTrackPage=function(n,t,i,r){typeof n!=string(n=window.documentwindow.document.title||);typeof t!=string(t=window.locationwindow.location.href||);this._pageTracking.stop(n,t,i,r)},r.prototype.trackPageView=function(n,i,r,u){var o=this,f,e,s;typeof n!=string(n=window.documentwindow.document.title||);typeof i!=string(i=window.locationwindow.location.href||);f=0;t.Telemetry.PageViewPerformance.checkPageLoad()!==undefined(e=window.performance.timing.navigationStart,f=t.Telemetry.PageViewPerformance.getDuration(e,new Date),s=setInterval(function(){f=t.Telemetry.PageViewPerformance.getDuration(e,new Date);var h=t.Telemetry.PageViewPerformance.checkPageLoad(),c=f6e4;(c||h)(clearInterval(s),f=t.Telemetry.PageViewPerformance.getDuration(e,new Date),o.context.track(new t.Telemetry.PageViewPerformance(n,i,f,r,u)),o.context._sender.triggerSend())},100));this.context.track(new t.Telemetry.PageView(n,i,f,r,u));setTimeout(function(){o.context._sender.triggerSend()},100)},r.prototype.startTrackEvent=function(n){this._eventTracking.start(n)},r.prototype.stopTrackEvent=function(n,t,i){this._eventTracking.stop(n,undefined,t,i)},r.prototype.trackEvent=function(n,i,r){this.context.track(new t.Telemetry.Event(n,null,i,r))},r.prototype.trackException=function(n,i,r,u){if(!t.Util.isError(n))try{throw new Error(n);}catch(f){n=f}this.context.track(new t.Telemetry.Exception(n,i,r,u))},r.prototype.trackMetric=function(n,i,r,u){this.context.track(new t.Telemetry.Metric(n,i,undefined,undefined,undefined,undefined,r,u))},r.prototype.trackTrace=function(n,i,r){n=n||;this.context.track(new t.Telemetry.Trace(n,i,r))},r.prototype._onerror=function(n,i,r,u,f){if(!t.Util.isError(f))try{throw new Error(n);}catch(e){f=e;f.stack=@i:r:(u||0)}this.trackException(f)},r}();t.AppInsights=r;i=function(){function n(n){this._name=n;this._events={}}return n.prototype.start=function(n){typeof this._events[n]==undefinedt._InternalLogging.warnInternal(startthis._name was called more than once for this event without calling stopthis._name. key is 'n');this._events[n]=new Date},n.prototype.stop=function(n,i,r,u){var f=this._events[n],e,o;f?(e=new Date,o=t.Telemetry.PageViewPerformance.getDuration(f,e),this.action(n,i,o,r,u)):t._InternalLogging.warnInternal(stopthis._name was called without a corresponding startthis._name . Event name is 'n');delete this._events[n];this._events[n]=undefined},n}()})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),function(n){(function(t){use strict;var i=function(){function t(t){t.queue=t.queue||[];var i=t.config||{};if(i!i.instrumentationKey)if(i=t,i.iKey)n.ApplicationInsights.Version=0.10.0.0,i.instrumentationKey=i.iKey;else if(i.applicationInsightsId)n.ApplicationInsights.Version=0.7.2.0,i.instrumentationKey=i.applicationInsightsId;else throw new Error(Cannot load Application Insights SDK, no instrumentationKey was provided.);i.endpointUrl=i.endpointUrl||//dc.services.visualstudio.com/v2/track;i.accountId=i.accountId;i.appUserId=i.appUserId;i.sessionRenewalMs=18e5;i.sessionExpirationMs=864e5;i.maxPayloadSizeInBytes=i.maxPayloadSizeInBytes0?i.maxPayloadSizeInBytes:9e5;i.bufferMinInterval=isNaN(i.bufferMinInterval)?0:i.bufferMinInterval;i.bufferMaxInterval=isNaN(i.bufferMaxInterval)?15e3:i.bufferMaxInterval;i.enableDebug=!!i.enableDebug;i.autoCollectErrors=typeof i.autoCollectErrors==boolean?i.autoCollectErrors:!0;this.snippet=t;this.config=i}return t.prototype.loadAppInsights=function(){var t=new n.ApplicationInsights.AppInsights(this.config),u,i,r;return this.config.iKey(u=t.trackPageView,t.trackPageView=function(n,i,r){u.apply(t,[null,n,i,r])}),i=logPageView,typeof this.snippet[i]==function(t[i]=function(n,i,r){t.trackPageView(null,n,i,r)}),r=logEvent,typeof this.snippet[r]==function(t[r]=function(n,i,r){t.trackEvent(n,i,r)}),t},t.prototype.emptyQueue=function(){var u,t,f,r;try{if(n.ApplicationInsights.Util.isArray(this.snippet.queue)){for(u=this.snippet.queue.length,t=0;tu;t)f=this.snippet.queue[t],f();this.snippet.queue=undefined;delete this.snippet.queue}}catch(i){r=Failed to send queued telemetry;itypeof i.toString==function(r=: i.toString());n.ApplicationInsights._InternalLogging.throwInternal(r)}},t}();t.Initialization=i})(n.ApplicationInsights||(n.ApplicationInsights={}));var t=n.ApplicationInsights}(Microsoft||(Microsoft={})),typeof window!=undefinedtypeof JSON!=undefined){var aiName=appInsights,snippet=window[aiName]||{},init=new Microsoft.ApplicationInsights.Initialization(snippet),appInsights=init.loadAppInsights();for(field in appInsights)snippet[field]=appInsights[field];init.emptyQueue()}else Microsoft.ApplicationInsights._InternalLogging.throwInternal(Cannot load Application Insights SDK from this environment, aborting initialization)

    The horrifying part of the above injected script is:
    init=new Microsoft.ApplicationInsights.Initialization(snippet)

    DB:2.54:Js Lib Sets Window.Init And Crashes Our Site z9

    Thank you for reporting the issue. The script should not be setting anything in the global scope other than window.appInsights. The fix should be deployed early next week.

  • RELEVANCY SCORE 2.54

    DB:2.54:Tree List Error fd


    I get the following error any time I click on a folder in my
    tree list:

    Error: Unable to load ''.
    at mx.controls::SWFLoader/::loadContent()
    at mx.controls::SWFLoader/load()
    at
    mx.controls::SWFLoader/mx.controls:SWFLoader::commitProperties()
    at mx.core::UIComponent/validateProperties()
    at mx.managers::LayoutManager/::validateProperties()
    at mx.managers::LayoutManager/::doPhasedInstantiation()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/::callLaterDispatcher2()
    at mx.core::UIComponent/::callLaterDispatcher()

    bHere's my code:/b

    ?xml version="1.0" encoding="utf-8"?
    mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="dirListSvc.send();"
    mx:Script
    ![CDATA[
    import mx.controls.Alert;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import flash.net.FileReference;

    private var fileRef:FileReference;
    [Bindable]
    private var dirList:XML;
    [Bindable]
    public var selectedNode:XML;

    //file browse function
    private function fileBrowse():void {
    this.fileRef = new FileReference();
    fileRef.addEventListener(Event.SELECT, selectHandler);
    fileRef.browse();
    }

    private function selectHandler(event:Event):void {
    var request:URLRequest = new URLRequest("
    http://localhost:8300/");
    fileRef.upload(request);
    }

    // Event handler for the Tree control change event.
    public function treeChanged(event:Event):void {
    selectedNode=Tree(event.target).selectedItem as XML;
    }

    private function
    directoryResultHandler(event:ResultEvent):void {
    dirList = event.result as XML;
    }

    // Fault handler - displays the error
    private function
    directoryFaultHandler(event:FaultEvent):void {
    Alert.show(event.fault.message, "Could not load dirList");
    }

    ]]

    /mx:Script

    mx:HTTPService
    id="dirListSvc"
    url="
    http://localhost/iqAssets/scripts/directory.php"

    resultFormat="e4x"
    result="directoryResultHandler(event);"
    fault="directoryFaultHandler(event);"
    /

    mx:HDividedBox
    mx:VBox
    mx:Tree x="10" y="10" labelField="@label"
    dataProvider="{dirList}" width="250"
    change="treeChanged(event)"/
    mx:Button label="Upload A File"
    click="fileBrowse()"/
    /mx:VBox
    mx:Panel height="300" width="400"
    title="{selectedNode.@label}"
    mx:Text text="{selectedNode.@path}" /
    mx:Image source="{selectedNode.@path}" /
    /mx:Panel
    /mx:HDividedBox

    /mx:Application

    And here's my php:

    ?php

    function getDirectory( $path = '.', $level = 0 ){

    $ignore = array( 'cgi-bin', '.', '..' );
    // Directories to ignore when listing output. Many hosts
    // will deny PHP access to the cgi-bin.

    $dh = @opendir( $path );
    // Open the directory to the handle $dh
    while( false !== ( $file = readdir( $dh ) ) ){
    // Loop through the directory

    if( !in_array( $file, $ignore ) ){
    // Check that this file is not to be ignored

    $spaces = str_repeat( '', ( $level * 4 ) );
    // Just to add spacing to the list, to better
    // show the directory tree.

    if( is_dir( "$path/$file" ) ){
    // Its a directory, so we need to keep reading down...
    echo 'node label="'.$file.'"';
    getDirectory( "$path/$file", ($level+1) );
    // Re-call this same function but on a new directory.
    // this is what makes function recursive.
    echo '/node';
    } else {

    $filename = strtolower($file) ;
    $exts = split("[/\\.]", $filename) ;
    $n = count($exts)-1;
    $exts = $exts[$n];
    $imageExt = array ('gif', 'jpg', 'swf', 'png');
    if ( !in_array($exts, $imageExt))
    {
    echo 'node label="'.$file.'" path=""/';
    }
    else
    {
    $imgPath = substr($path, 1);
    echo 'node label="'.$file.'" path="'."
    http://localhost/iqAssets/scripts$imgPath/$file".'"/';
    }
    }
    }
    }
    closedir( $dh );
    // Close the directory handle

    }
    echo 'node label="assets"';
    getDirectory( "." );
    echo '/node';
    ?

    DB:2.54:Tree List Error fd

    So what line is raising the error?
    Tracy

  • RELEVANCY SCORE 2.54

    DB:2.54:Game Installation Problem 7j


    While installing FIFA 12 i get ' Source file corrupt error message and wether i want to Retry, Ignore or Abort. Retrying does nothing n if i ignore d game doesnt get installed properly its only for my game n i tried installig oder games bt d result is
    same

    DB:2.54:Game Installation Problem 7j

    It sounds like the installation files are corrupted.

    If you downloaded the game online, you should delete what you have of the game and re-download it again.

    If you bought a physical boxed copy of the game, you may need to return it to the store you purchased it from (with the proof of purchase - ie. the receipt) and exchange it for another copy.

  • RELEVANCY SCORE 2.54

    DB:2.54:Recursive Function kk


     
    It's been too long since the last time I used visual basic...
    the function I want to repeat is a function in Excel:Range(Q10).GoalSeek Goal:=0, ChangingCell:=Range(R10),where Q and R will go from 10 and further down he columns...
    where do I put this into an recursive function?
    the help menu gives this function:
    Function Factorial (N)
    If N = 1 Then ' Reached end of recursive calls.
    Factorial = 1 ' (N = 0) so climb back out of calls.
    Else ' Call Factorial again if N 0.
    Factorial = Factorial(N - 1) * N
    End If
    End Function
     Does anyone know this?
     

    DB:2.54:Recursive Function kk

    If you can use a loop instead of recursion then go for it.
    Recursion is best used for parsing data thats either a tree or has a more complex structure than an array or list like a jagged array of jagged arrays or data cubes.
    If your wanting to parse a sheet then just use a loop.
     

  • RELEVANCY SCORE 2.54

    DB:2.54:Serial Receive - Ignore \R\N Cr Lf Ascii Codes ps



    Hello,

    I am trying to read an array of characters including carriage return and line feed into one array into labview. I receive the command then wait x miliseconds until all data has been received and then read all data in the buffer using the serial read function. An example sequence of series of characters is as follows:

    printf("RTCC time date\r\n35:6c:53\r\n0d/02/cb\r\n")

    I need to receive this exact set of characters and store them into one array in labview. It appears that labview automatically breaks from the read routine when it receives the Carriage return or line feed code. Which, when writing to an array only gives the characters up to the line feed, then overwrites them upon exiting and returning the receive the next set of chars up to the next line feed. Which, in this case would require to have 3 separate arrays in order to store all of the data. Which ends up looking like this:

    array1 "RTCC time date\r\n"

    array2 "35:6c:53\r\n"

    array3 "0d/02/cb\r\n"

    It seems like there should be a setting to disable the read function response to the \r\n, but I cannot find any. For that matter, Can someone please guide to documentation that details this type of functionality using the VISA functions? I have searched the help and it gives a very very superficial explanation. I have found the VISA manual, but it only details C code implementation.

    Attached is a VI that flows as explained.

    Thanks







    Solved!
    Go to Solution.

    DB:2.54:Serial Receive - Ignore \R\N Cr Lf Ascii Codes ps


    If you can convince your sending device to terminate a message with a non-printing ASCII character, you can have the best of both worlds. I use ASCII 4, EOT.

    You can create a property node for the Instr class. Right click on the wire leading to the VISA Resource Name terminal of your VISA Read vi. Under "Message Based Settings", select "Termination Character". Set it to the character you have chosen. Then leave Termination Character enabled.

  • RELEVANCY SCORE 2.54

    DB:2.54:Is It Possible To Make Unity Initialize Files In The Persistent Data Folder? jc



    What you can do is instead of at installation, on first boot it writes the file. I have it similar to this in a game I am currently working on.


    Have a script similar to this on a gameobject that is loaded as soon as the game starts:

    var XMLData : String; //Have all of the file data in this string.

    function Start () {
    //Unpack the XML file if needed, if not just ignore it
    if (!System.IO.File.Exists(Application.persistentDataPath + /filename.xml)) {
    System.IO.File.WriteAllText(Application.persistentDataPath + /filename.xml, XMLData);
    }
    }



    EDIT: Forgot to mention you'll probably have to import System.IO objects. These would surely cover what you need, but I'm not 100% sure they're even needed. I didn't test the above code but am 99% sure it'd work. If it pulls an error, put these two lines right below #pragma strict in the file. So lines 2 and 3.

    import System.IO;
    import System.Collections.Generic;

    DB:2.54:Is It Possible To Make Unity Initialize Files In The Persistent Data Folder? jc


    look into Build Player Pipeline. There is an example that sounds like what you want to do

  • RELEVANCY SCORE 2.54

    DB:2.54:Sql Query Is Taking Long Time To Run 3c


    SSRS report sql quey is taking long time to run. I even implemented all the indexes suggested by tuning advisor. It was running in 2 minutes. Now it is taking 40 minutes.
    SQL Query
    exec sp_executesql N'SELECT
    Departments.Dept_ID
    , Departments.Description
    , Inventory.ItemNum
    , Inventory.ItemName
    , MAX(Inventory.Vendor_Part_Num) Vendor_Part_Num
    , MAX(Inventory.Location) Location
    , SUM(Invoice_Itemized.Quantity) AS Quantity
    , SUM(ROUND(((Invoice_Itemized.Quantity)*(Invoice_Itemized.PricePer Invoice_Itemized.GC_Sold) * (1-Invoice_Totals.Discount)), 2)) AS TotalPrice
    , SUM(Invoice_Itemized.PricePer Invoice_Itemized.GC_Sold) AS PricePer

    FROM
    View_Invoice_Totals AS Invoice_Totals
    INNER JOIN View_Invoice_Itemized AS Invoice_Itemized ON (Invoice_Totals.Store_ID = Invoice_Itemized.Store_ID) AND (Invoice_Totals.Invoice_Number = Invoice_Itemized.Invoice_Number)

    INNER JOIN Inventory ON Inventory.Store_ID = Invoice_Totals.Store_ID AND Inventory.ItemNum = Invoice_Itemized.ItemNum
    INNER JOIN Departments ON Departments.Store_ID = Invoice_Totals.Store_ID AND Departments.Dept_ID = Inventory.Dept_ID
    WHERE
    Inventory.ItemType IN (0,2,7,13) AND Invoice_Totals.Status = ''C''
    AND Invoice_Itemized.ItemNum NOT IN (''GIFT_C'')
    AND Invoice_Totals.Store_ID in (N''000'',N''002'',N''003'',N''004'',N''005'',N''006'',N''008'',N''009'',N''011'',N''013'',N''015'',N''018'',N''021'',N''022'',N''024'',N''025'',N''026'',N''028'',N''030'',N''031'',N''032'',N''034'',N''040'',N''041'',N''043'',N''048'',N''052'',N''054'',N''055'',N''056'',N''057'',N''058'',N''060'',N''062'',N''065'',N''067'',N''068'',N''070'',N''076'',N''077'',N''084'',N''085'',N''087'',N''089'',N''091'',N''092'',N''093'',N''094'',N''096'',N''098'',N''099'',N''1001'',N''1003'',N''1004'',N''101'',N''103'',N''105'',N''108'',N''109'',N''112'',N''115'',N''117'',N''122'',N''123'',N''124'',N''125'',N''126'',N''129'',N''130'',N''132'',N''133'',N''140'',N''143'',N''144'',N''146'',N''149'',N''152'',N''154'',N''157'',N''159'',N''162'',N''163'',N''165'',N''167'',N''168'',N''170'',N''171'',N''173'',N''176'',N''178'',N''179'',N''180'',N''184'',N''190'',N''200'',N''201'',N''202'',N''204'',N''206'',N''207'',N''210'',N''211'',N''213'',N''214'',N''216'',N''217'',N''218'',N''222'',N''223'',N''231'',N''233'',N''236'',N''240'',N''241'',N''243'',N''260'',N''261'',N''263'',N''273'',N''276'',N''280'',N''281'',N''286'',N''295'',N''296'',N''297'',N''298'',N''299'',N''308'',N''311'',N''322'',N''323'',N''324'',N''330'',N''335'',N''337'',N''339'',N''341'',N''343'',N''345'',N''347'',N''351'',N''353'',N''355'',N''357'',N''358'',N''366'',N''371'',N''372'',N''374'',N''375'',N''376'',N''377'',N''379'',N''381'',N''389'',N''390'',N''391'',N''392'',N''394'',N''396'',N''397'',N''398'',N''400'',N''402'',N''406'',N''408'',N''409'',N''410'',N''412'',N''413'',N''414'',N''415'',N''416'',N''419'',N''445'',N''446'',N''447'',N''448'',N''453'',N''459'',N''460'',N''461'',N''465'',N''466'',N''467'',N''470'',N''473'',N''474'',N''475'',N''478'',N''479'',N''481'',N''483'',N''484'',N''485'',N''487'',N''488'',N''489'',N''490'',N''491'',N''495'',N''501'',N''502'',N''503'',N''505'',N''506'',N''509'',N''511'',N''512'',N''514'',N''516'',N''518'',N''519'',N''521'',N''522'',N''523'',N''525'',N''526'',N''528'',N''529'',N''530'',N''535'',N''540'',N''545'',N''550'',N''555'',N''560'',N''570'',N''575'',N''576'',N''577'',N''580'',N''581'',N''582'',N''583'',N''588'',N''595'',N''601'',N''605'',N''630'',N''635'',N''645'',N''655'',N''660'',N''670'',N''675'',N''685'',N''696'',N''701'',N''703'',N''705'',N''710'',N''715'',N''720'',N''725'',N''740'',N''745'',N''750'',N''751'',N''752'',N''753'',N''755'',N''760'',N''765'',N''770'',N''780'',N''782'',N''787'',N''789'',N''790'',N''810'',N''815'',N''835'',N''840'',N''850'',N''855'',N''pcaStr'')

    AND Invoice_Totals.Store_ID in (SELECT DISTINCT Store_ID FROM Store_Group_Details WHERE Store_Group_ID in (N''101'',N''104'',N''105'',N''107'',N''110'',N''112'',N''113'',N''114'',N''115'',N''118'',N''120'',N''124'',N''126'',N''127'',N''140'',N''149'',N''152'',N''170'',N''181'',N''182'',N''184'',N''187'',N''188'',N''192'',N''193'',N''305'',N''307'',N''310''))
    AND (Invoice_Totals.Cashier_ID in (N''00001'',N''00002'',N''00003'',N''00201'',N''002017'',N''002018'',N''002019'',N''00202'',N''00203'',N''00204'',N''00205'',N''00206'',N''00208'',N''00301'',N''00302'',N''00303'',N''00304'',N''00401'',N''00402'',N''00403'',N''00404'',N''00501'',N''00502'',N''00503'',N''00504'',N''00515'',N''00601'',N''00602'',N''00603'',N''00801'',N''00802'',N''00803'',N''00804'',N''00901'',N''00902'',N''00903'',N''00904'',N''00905'',N''01'',N''01101'',N''01102'',N''01103'',N''01104'',N''01105'',N''01106'',N''01107'',N''01108'',N''01110'',N''01111'',N''01112'',N''01113'',N''01114'',N''01115'',N''01116'',N''01117'',N''01118'',N''01119'',N''01120'',N''01121'',N''01122'',N''01123'',N''01124'',N''01125'',N''01135'',N''01301'',N''01302'',N''01303'',N''01304'',N''01305'',N''01306'',N''01307'',N''01309'',N''01310'',N''01335'',N''014001'',N''014002'',N''01501'',N''01503'',N''01510'',N''01511'',N''01512'',N''01513'',N''01514'',N''0151401'',N''01515'',N''0151502'',N''0151505'',N''0151506'',N''0151507'',N''01517'',N''01518'',N''01519'',N''01522'',N''01523'',N''01524'',N''01525'',N''01526'',N''01527'',N''01528'',N''01529'',N''01530'',N''01531'',N''01532'',N''01533'',N''01534'',N''01535'',N''01536'',N''01537'',N''015701'',N''015702'',N''015703'',N''01598'',N''01599'',N''01801'',N''01802'',N''01803'',N''01804'',N''01805'',N''01806'',N''01807'',N''01808'',N''01809'',N''01810'',N''01811'',N''01812'',N''01899'',N''02101'',N''02102'',N''02103'',N''02104'',N''02105'',N''02106'',N''02107'',N''02201'',N''02202'',N''02203'',N''02206'',N''02207'',N''02209'',N''02210'',N''02211'',N''02401'',N''02402'',N''02403'',N''02404'',N''02405'',N''02406'',N''02407'',N''02408'',N''02409'',N''02410'',N''02411'',N''02412'',N''02413'',N''02414'',N''02415'',N''02416'',N''02417'',N''02418'',N''02419'',N''02420'',N''02421'',N''02422'',N''02423'',N''02424'',N''02425'',N''02426'',N''02427'',N''02428'',N''02429'',N''02430'',N''02499'',N''02501'',N''02502'',N''02503'',N''02504'',N''02505'',N''02506'',N''02507'',N''02508'',N''02509'',N''02511'',N''02512'',N''02513'',N''02514'',N''02515'',N''02516'',N''02599'',N''02601'',N''02602'',N''02603'',N''02604'',N''02605'',N''02607'',N''02801'',N''02802'',N''02803'',N''02804'',N''02805'',N''02806'',N''02807'',N''02808'',N''02809'',N''02810'',N''02828'',N''03001'',N''03002'',N''03003'',N''03004'',N''03005'',N''03006'',N''03007'',N''03008'',N''03009'',N''03010'',N''03011'',N''03012'',N''03013'',N''03014'',N''03015'',N''03016'',N''03017'',N''03018'',N''03019'',N''03020'',N''03021'',N''03022'',N''03023'',N''03101'',N''03102'',N''03103'',N''03104'',N''03105'',N''03106'',N''03107'',N''03108'',N''03109'',N''03110'',N''03111'',N''03112'',N''03113'',N''03114'',N''03115'',N''03116'',N''03117'',N''03118'',N''03119'',N''03201'',N''03202'',N''03203'',N''03204'',N''03205'',N''03206'',N''03207'',N''03208'',N''03209'',N''03210'',N''03211'',N''03212'',N''03213'',N''03401'',N''03402'',N''03403'',N''03404'',N''03405'',N''03406'',N''03407'',N''03408'',N''03409'',N''03410'',N''03411'',N''03412'',N''03413'',N''03414'',N''03415'',N''03416'',N''03417'',N''03418'',N''03419'',N''03420'',N''03421'',N''03422'',N''03423'',N''03498'',N''03499'',N''04'',N''04007'',N''04008'',N''04012'',N''04013'',N''04014'',N''04101'',N''04102'',N''04103'',N''04104'',N''04105'',N''04106'',N''04107'',N''04108'',N''04109'',N''04110'',N''04111'',N''04301'',N''04302'',N''04303'',N''04304'',N''04305'',N''04306'',N''04801'',N''04802'',N''04803'',N''04804'',N''04810'',N''04811'',N''04812'',N''04813'',N''05'',N''05201'',N''05204'',N''05205'',N''05401'',N''05402'',N''05404'',N''05409'',N''05417'',N''05418'',N''05501'',N''05502'',N''05513'',N''05514'',N''05515'',N''05517'',N''05518'',N''05519'',N''05520'',N''05521'',N''05522'',N''05524'',N''05525'',N''05526'',N''05527'',N''05538'',N''05599'',N''05601'',N''05602'',N''05603'',N''05606'',N''05607'',N''05608'',N''05609'',N''05701'',N''05703'',N''05715'',N''05801'',N''05802'',N''05806'',N''05807'',N''05810'',N''05811'',N''06'',N''06001'',N''06002'',N''06003'',N''06004'',N''06005'',N''06006'',N''06201'',N''06203'',N''06204'',N''06206'',N''06501'',N''06502'',N''06503'',N''06504'',N''06505'',N''06506'',N''06701'',N''06702'',N''06703'',N''06704'',N''06705'',N''06706'',N''06707'',N''06801'',N''06802'',N''06803'',N''06804'',N''06805'',N''06807'',N''06808'',N''06809'',N''06810'',N''07'',N''07001'',N''07002'',N''07003'',N''07004'',N''07005'',N''07601'',N''07602'',N''07603'',N''07604'',N''07701'',N''07702'',N''07703'',N''07704'',N''08'',N''08401'',N''08402'',N''08403'',N''08405'',N''08406'',N''08409'',N''08415'',N''08425'',N''08426'',N''08501'',N''08502'',N''08503'',N''08504'',N''08515'',N''08516'',N''08701'',N''08702'',N''08703'',N''08704'',N''08705'',N''08707'',N''08708'',N''08901'',N''09101'',N''09102'',N''09103'',N''09104'',N''09105'',N''09106'',N''09201'',N''09203'',N''09204'',N''09205'',N''09206'',N''09208'',N''09209'',N''09211'',N''09301'',N''09303'',N''09304'',N''09305'',N''09306'',N''09307'',N''09309'',N''09312'',N''09313'',N''09314'',N''09315'',N''09316'',N''09401'',N''09402'',N''09403'',N''09404'',N''09405'',N''09406'',N''09407'',N''09408'',N''09409'',N''09412'',N''09601'',N''09602'',N''09603'',N''09604'',N''09605'',N''09606'',N''09607'',N''09608'',N''09613'',N''09801'',N''09803'',N''09804'',N''09805'',N''09807'',N''09808'',N''09809'',N''09901'',N''09902'',N''09903'',N''09904'',N''09905'',N''09909'',N''09915'',N''10'',N''10011'',N''10012'',N''10101'',N''10102'',N''10104'',N''10105'',N''10109'',N''10110'',N''10111'',N''10112'',N''10301'',N''10302'',N''10304'',N''10305'',N''10306'',N''10315'',N''10401'',N''10501'',N''10502'',N''10505'',N''10506'',N''10507'',N''10509'',N''10510'',N''10511'',N''10533'',N''10534'',N''10536'',N''10538'',N''10539'',N''10701'',N''10702'',N''10801'',N''10802'',N''10803'',N''10901'',N''10902'',N''10903'',N''10904'',N''10905'',N''11201'',N''11202'',N''11203'',N''11206'',N''11210'',N''11211'',N''11212'',N''11301'',N''11302'',N''11304'',N''11401'',N''11402'',N''11403'',N''114211'',N''114212'',N''114222'',N''11501'',N''11502'',N''11503'',N''11504'',N''11506'',N''11510'',N''11512'',N''1151236'',N''11516'',N''1152'',N''11590'',N''11599'',N''11701'',N''11702'',N''11703'',N''11704'',N''11705'',N''11706'',N''11710'',N''11712'',N''11714'',N''11716'',N''11718'',N''11722'',N''11790'',N''11801'',N''11802'',N''12001'',N''12002'',N''12006'',N''12007'',N''12008'',N''12009'',N''12010'',N''12201'',N''12203'',N''12204'',N''12205'',N''12214'',N''12220'',N''12299'',N''12301'',N''12304'',N''12306'',N''12310'',N''12312'',N''12316'',N''12318'',N''12320'',N''12322'',N''12324'',N''12330'',N''1236'',N''12401'',N''12402'',N''12403'',N''12404'',N''12501'',N''12502'',N''12503'',N''12504'',N''12601'',N''12602'',N''12603'',N''12604'',N''12650'',N''12710'',N''12711'',N''12901'',N''12902'',N''12903'',N''12904'',N''13001'',N''13002'',N''13003'',N''13004'',N''13201'',N''13202'',N''13203'',N''13204'',N''13205'',N''13301'',N''13302'',N''13303'',N''13304'',N''13901'',N''13902'',N''13908'',N''13909'',N''14001'',N''14002'',N''14003'',N''14004'',N''14005'',N''14007'',N''14008'',N''14012'',N''14014'',N''14020'',N''14301'',N''14302'',N''14303'',N''14304'',N''14305'',N''14306'',N''14307'',N''14401'',N''14402'',N''14403'',N''14404'',N''14601'',N''14602'',N''14603'',N''14604'',N''14605'',N''14606'',N''14901'',N''14902'',N''14903'',N''14904'',N''14905'',N''14906'',N''1520'',N''15201'',N''15202'',N''15203'',N''15204'',N''15205'',N''15206'',N''1521'',N''15401'',N''15402'',N''15404'',N''15701'',N''15704'',N''15705'',N''15706'',N''15901'',N''15902'',N''15903'',N''16201'',N''16203'',N''16204'',N''16205'',N''16206'',N''16208'',N''1621'',N''16212'',N''1621400'',N''1622'',N''16232'',N''1624'',N''1629'',N''16301'',N''16302'',N''16303'',N''16304'',N''16501'',N''16502'',N''16503'',N''16701'',N''16702'',N''16703'',N''16704'',N''16705'',N''16801'',N''16802'',N''16803'',N''16804'',N''16805'',N''17001'',N''17002'',N''17101'',N''17102'',N''17104'',N''17301'',N''17302'',N''17303'',N''17601'',N''17602'',N''17603'',N''17604'',N''17801'',N''17802'',N''17803'',N''17804'',N''17805'',N''17806'',N''17807'',N''17901'',N''17902'',N''17903'',N''18001'',N''18002'',N''18003'',N''18005'',N''18101'',N''18102'',N''18201'',N''18202'',N''18203'',N''18204'',N''18401'',N''18402'',N''18403'',N''18404'',N''18410'',N''18501'',N''18701'',N''18702'',N''18804'',N''19001'',N''19002'',N''19201'',N''19202'',N''19203'',N''19204'',N''19205'',N''19310'',N''20'',N''20011'',N''20012'',N''20013'',N''20066'',N''20102'',N''20111'',N''20202'',N''20204'',N''20205'',N''20206'',N''20402'',N''20404'',N''20409'',N''20601'',N''20602'',N''20603'',N''20604'',N''20606'',N''20607'',N''20608'',N''20701'',N''20702'',N''20703'',N''20704'',N''20705'',N''21001'',N''21002'',N''21003'',N''21004'',N''21005'',N''21006'',N''21101'',N''21102'',N''21103'',N''21301'',N''21302'',N''21303'',N''21304'',N''21305'',N''21401'',N''21404'',N''21405'',N''21406'',N''21407'',N''21411'',N''21601'',N''21604'',N''21605'',N''21606'',N''21607'',N''21608'',N''21609'',N''21611'',N''21705'',N''21708'',N''21709'',N''21710'',N''21711'',N''21712'',N''21713'',N''21714'',N''21715'',N''21716'',N''218006'',N''21801'',N''21802'',N''21803'',N''21804'',N''21806'',N''21810'',N''21811'',N''21812'',N''21813'',N''21905'',N''21918'',N''22201'',N''22204'',N''22205'',N''22208'',N''22301'',N''22302'',N''22303'',N''22304'',N''22305'',N''22306'',N''22307'',N''22308'',N''22309'',N''22310'',N''22312'',N''22319'',N''22345'',N''22355'',N''22404'',N''22511'',N''22551'',N''22552'',N''22553'',N''22554'',N''22555'',N''22556'',N''22557'',N''22558'',N''22559'',N''22560'',N''22561'',N''22562'',N''22563'',N''22565'',N''23008'',N''23011'',N''23012'',N''23101'',N''23102'',N''23104'',N''23105'',N''23106'',N''23107'',N''23109'',N''23110'',N''23111'',N''23114'',N''23301'',N''23302'',N''23303'',N''23304'',N''23305'',N''23306'',N''23307'',N''23308'',N''23309'',N''23313'',N''23314'',N''23601'',N''23602'',N''23603'',N''23604'',N''24001'',N''24002'',N''24003'',N''24004'',N''24005'',N''24006'',N''24101'',N''24102'',N''24103'',N''24104'',N''24106'',N''24107'',N''24108'',N''24196'',N''24197'',N''24198'',N''24199'',N''24200'',N''24201'',N''24202'',N''24203'',N''24204'',N''24205'',N''24206'',N''24207'',N''24208'',N''24209'',N''24210'',N''24211'',N''24212'',N''24213'',N''24301'',N''24302'',N''24303'',N''24304'',N''24305'',N''24306'',N''25000'',N''25008'',N''25011'',N''2510'',N''26001'',N''26002'',N''26003'',N''26004'',N''26005'',N''26006'',N''26007'',N''26008'',N''26009'',N''26010'',N''26018'',N''26019'',N''26022'',N''26101'',N''26102'',N''26103'',N''26104'',N''26105'',N''26107'',N''26108'',N''26115'',N''26118'',N''26119'',N''261933'',N''26200'',N''26218'',N''26229'',N''26301'',N''26302'',N''26303'',N''26304'',N''26350'',N''26355'',N''26380'',N''26381'',N''26508'',N''26510'',N''26511'',N''26512'',N''26513'',N''26514'',N''26515'',N''26516'',N''26517'',N''26518'',N''26519'',N''26520'',N''26521'',N''26522'',N''26523'',N''26524'',N''26525'',N''26526'',N''26527'',N''26528'',N''26529'',N''26530'',N''26531'',N''26532'',N''26533'',N''26534'',N''26535'',N''26536'',N''26537'',N''26538'',N''26539'',N''265536'',N''265548'',N''265559'',N''265566'',N''26566'',N''26567'',N''26568'',N''27301'',N''27302'',N''27306'',N''27307'',N''27308'',N''27309'',N''27310'',N''27311'',N''27591'',N''27601'',N''27602'',N''27603'',N''27604'',N''27630'',N''27631'',N''27632'',N''27633'',N''27634'',N''27635'',N''27636'',N''27637'',N''27638'',N''27640'',N''27641'',N''27642'',N''27643'',N''27644'',N''27645'',N''27646'',N''27647'',N''27648'',N''27649'',N''27650'',N''27651'',N''27652'',N''27653'',N''27654'',N''27655'',N''27656'',N''27657'',N''27658'',N''27659'',N''27660'',N''27661'',N''27662'',N''27663'',N''27664'',N''27665'',N''27667'',N''28001'',N''28002'',N''28003'',N''28004'',N''28101'',N''28102'',N''28103'',N''28104'',N''28105'',N''28601'',N''28602'',N''28603'',N''28604'',N''28605'',N''29501'',N''29502'',N''29503'',N''29504'',N''29509'',N''29510'',N''29511'',N''29512'',N''29601'',N''29602'',N''29603'',N''29604'',N''29607'',N''29608'',N''29609'',N''29701'',N''29702'',N''29703'',N''29704'',N''29802'',N''29803'',N''29805'',N''29901'',N''29902'',N''29903'',N''29904'',N''29905'',N''29906'',N''30510'',N''30511'',N''30710'',N''30711'',N''30801'',N''31010'',N''31011'',N''31101'',N''31102'',N''31103'',N''32201'',N''32202'',N''32203'',N''32301'',N''32303'',N''32401'',N''32402'',N''32403'',N''33001'',N''33002'',N''33003'',N''33004'',N''33501'',N''33502'',N''33503'',N''33504'',N''33510'',N''33511'',N''33512'',N''33701'',N''33702'',N''33703'',N''33704'',N''33901'',N''33902'',N''33903'',N''33904'',N''33905'',N''34101'',N''34102'',N''34104'',N''34110'',N''34112'',N''34114'',N''34115'',N''34116'',N''34120'',N''34301'',N''34302'',N''34303'',N''34305'',N''34321'',N''34501'',N''34502'',N''34503'',N''34504'',N''34701'',N''34702'',N''34703'',N''34704'',N''34705'',N''34707'',N''34708'',N''34709'',N''34710'',N''35101'',N''35102'',N''35103'',N''35104'',N''35105'',N''35301'',N''35302'',N''35303'',N''35304'',N''35501'',N''35502'',N''35503'',N''35504'',N''35507'',N''35508'',N''35701'',N''35801'',N''35802'',N''35809'',N''36601'',N''36602'',N''36603'',N''36604'',N''36605'',N''36606'',N''3706'',N''37101'',N''37103'',N''37104'',N''37105'',N''37106'',N''37107'',N''37201'',N''37202'',N''37203'',N''37204'',N''37210'',N''37401'',N''37402'',N''37403'',N''37404'',N''37501'',N''37502'',N''37503'',N''37504'',N''37601'',N''37602'',N''37603'',N''37604'',N''37605'',N''37701'',N''37702'',N''37703'',N''37704'',N''37705'',N''37901'',N''37902'',N''37903'',N''37904'',N''37905'',N''37906'',N''37907'',N''37908'',N''37909'',N''37910'',N''37911'',N''37912'',N''37913'',N''37914'',N''37915'',N''37916'',N''37917'',N''37918'',N''37919'',N''38101'',N''38102'',N''38103'',N''38506'',N''38901'',N''38902'',N''38903'',N''38904'',N''38905'',N''38906'',N''38907'',N''38908'',N''39001'',N''39002'',N''39003'',N''39004'',N''39005'',N''39006'',N''39007'',N''39101'',N''39102'',N''39103'',N''39104'',N''39105'',N''39106'',N''39107'',N''39201'',N''39202'',N''39203'',N''39401'',N''39402'',N''39403'',N''39404'',N''39405'',N''39406'',N''39407'',N''39601'',N''39602'',N''39603'',N''39604'',N''39605'',N''39606'',N''39607'',N''39608'',N''39609'',N''39610'',N''39611'',N''39612'',N''39701'',N''39704'',N''39706'',N''39707'',N''39708'',N''39709'',N''39710'',N''39711'',N''39712'',N''39713'',N''40001'',N''40002'',N''40003'',N''40004'',N''40201'',N''40202'',N''40203'',N''40204'',N''40206'',N''40208'',N''40601'',N''40602'',N''40603'',N''40604'',N''40605'',N''40606'',N''40801'',N''40802'',N''40803'',N''40804'',N''40805'',N''40901'',N''40902'',N''40903'',N''40904'',N''40905'',N''40906'',N''40907'',N''40908'',N''41001'',N''41002'',N''41003'',N''4106'',N''41201'',N''41202'',N''41203'',N''41204'',N''41206'',N''41209'',N''41210'',N''41211'',N''41212'',N''41214'',N''41215'',N''41217'',N''41218'',N''41219'',N''41220'',N''41221'',N''41301'',N''41302'',N''41303'',N''41304'',N''41305'',N''41306'',N''41307'',N''41308'',N''41309'',N''41310'',N''41312'',N''41313'',N''41314'',N''41401'',N''41402'',N''41403'',N''41404'',N''41501'',N''41502'',N''41503'',N''41504'',N''41506'',N''41507'',N''41508'',N''41509'',N''41510'',N''41512'',N''41601'',N''41602'',N''41603'',N''41604'',N''41605'',N''41606'',N''41607'',N''41609'',N''41610'',N''41612'',N''41613'',N''41614'',N''41615'',N''41616'',N''41617'',N''41901'',N''41902'',N''41903'',N''41904'',N''41905'',N''41906'',N''41907'',N''41911'',N''41912'',N''41913'',N''41914'',N''41916'',N''41917'',N''41919'',N''41920'',N''44501'',N''44502'',N''44503'',N''44504'',N''44505'',N''44506'',N''44507'',N''44508'',N''44509'',N''44510'',N''44511'',N''44601'',N''44602'',N''44603'',N''44604'',N''44605'',N''44701'',N''44702'',N''44703'',N''44704'',N''44705'',N''44706'',N''44707'',N''44708'',N''44709'',N''44801'',N''44802'',N''44804'',N''44805'',N''44806'',N''44807'',N''44808'',N''44809'',N''44810'',N''44811'',N''45301'',N''45302'',N''45303'',N''45304'',N''45305'',N''45307'',N''45308'',N''45310'',N''45311'',N''45312'',N''45313'',N''45901'',N''45902'',N''45903'',N''46001'',N''46002'',N''46003'',N''46004'',N''46005'',N''46007'',N''46101'',N''46102'',N''46103'',N''46104'',N''46105'',N''46501'',N''46502'',N''46503'',N''46504'',N''46505'',N''46506'',N''46507'',N''46508'',N''46601'',N''46602'',N''46603'',N''46604'',N''46605'',N''46606'',N''46607'',N''46608'',N''46609'',N''46610'',N''46611'',N''46612'',N''46613'',N''46614'',N''46615'',N''46616'',N''46701'',N''46702'',N''46703'',N''46704'',N''46705'',N''46706'',N''47001'',N''47003'',N''47004'',N''47005'',N''47007'',N''47008'',N''47009'',N''47301'',N''47302'',N''47303'',N''47304'',N''47305'',N''47401'',N''47403'',N''47404'',N''47405'',N''47406'',N''47407'',N''47501'',N''47502'',N''47503'',N''47508'',N''47509'',N''47801'',N''47802'',N''47803'',N''47804'',N''47805'',N''47808'',N''47809'',N''47901'',N''47902'',N''47903'',N''47905'',N''47908'',N''47909'',N''47911'',N''47912'',N''47913'',N''48101'',N''48102'',N''48104'',N''48105'',N''48106'',N''48107'',N''48108'',N''48109'',N''48110'',N''48111'',N''48301'',N''48302'',N''48303'',N''48309'',N''48310'',N''48311'',N''48312'',N''48313'',N''48314'',N''48315'',N''48401'',N''48402'',N''48403'',N''48404'',N''48405'',N''48501'',N''48502'',N''48503'',N''48504'',N''48506'',N''48507'',N''48508'',N''48509'',N''48510'',N''48511'',N''48701'',N''48702'',N''48703'',N''48705'',N''48801'',N''48802'',N''48804'',N''48805'',N''48806'',N''48901'',N''48902'',N''48903'',N''48904'',N''48905'',N''49001'',N''49002'',N''49003'',N''49004'',N''49005'',N''49007'',N''49008'',N''4907'',N''49101'',N''49102'',N''49103'',N''49104'',N''49105'',N''49106'',N''49107'',N''49501'',N''49502'',N''49503'',N''49504'',N''50101'',N''50102'',N''50103'',N''50105'',N''50202'',N''50203'',N''50204'',N''50205'',N''50206'',N''50207'',N''50208'',N''50301'',N''50302'',N''50303'',N''50304'',N''50306'',N''50309'',N''50310'',N''50501'',N''50502'',N''50503'',N''50504'',N''50505'',N''50507'',N''50601'',N''50602'',N''50603'',N''50604'',N''50605'',N''50606'',N''50901'',N''50902'',N''50903'',N''50904'',N''50905'',N''50906'',N''50907'',N''50908'',N''51101'',N''51102'',N''51103'',N''51108'',N''51109'',N''51110'',N''51111'',N''51112'',N''51201'',N''51202'',N''51203'',N''51204'',N''51205'',N''51401'',N''51402'',N''51407'',N''51408'',N''51409'',N''51410'',N''51601'',N''51602'',N''51603'',N''51604'',N''51605'',N''51801'',N''51802'',N''51803'',N''51804'',N''51805'',N''51806'',N''51901'',N''51902'',N''51903'',N''51904'',N''51905'',N''51906'',N''52101'',N''52102'',N''52103'',N''52104'',N''52106'',N''52107'',N''52108'',N''52109'',N''52110'',N''52201'',N''52202'',N''52203'',N''52204'',N''52205'',N''52206'',N''52301'',N''52302'',N''52303'',N''52304'',N''52305'',N''52501'',N''52502'',N''52503'',N''52504'',N''52505'',N''52506'',N''52507'',N''52508'',N''52601'',N''52602'',N''52603'',N''52604'',N''52605'',N''52606'',N''52607'',N''52608'',N''52801'',N''52802'',N''52803'',N''52804'',N''52805'',N''52901'',N''52902'',N''52903'',N''52904'',N''52905'',N''52907'',N''52908'',N''52909'',N''52910'',N''52911'',N''52912'',N''52913'',N''52914'',N''52915'',N''52916'',N''52917'',N''52918'',N''53001'',N''53002'',N''53003'',N''53004'',N''53005'',N''53501'',N''53502'',N''53503'',N''53504'',N''53505'',N''54002'',N''54003'',N''54006'',N''54501'',N''54502'',N''54503'',N''54504'',N''54505'',N''55001'',N''55002'',N''55003'',N''55004'',N''55005'',N''55006'',N''55007'',N''55008'',N''55009'',N''55010'',N''55011'',N''55501'',N''55502'',N''55503'',N''55504'',N''55505'',N''55506'',N''55507
    '',N''55508'',N''55509'',N''55510'',N''55511'',N''55512'',N''55513'',N''55514'',N''55515'',N''55516'',N''55517'',N''55518'',N''55519'',N''56001'',N''56002'',N''56003'',N''56005'',N''56012'',N''56015'',N''57001'',N''57002'',N''57003'',N''57004'',N''57005'',N''57006'',N''57007'',N''57008'',N''57009'',N''57011'',N''57014'',N''57501'',N''57502'',N''57505'',N''57507'',N''57601'',N''57602'',N''57603'',N''57605'',N''57701'',N''57702'',N''57708'',N''58001'',N''58002'',N''58003'',N''58004'',N''58010'',N''58101'',N''58102'',N''58104'',N''58201'',N''58203'',N''58204'',N''58205'',N''58206'',N''58207'',N''58208'',N''58801'',N''58802'',N''58803'',N''58807'',N''59501'',N''59502'',N''59503'',N''59506'',N''59507'',N''59508'',N''59509'',N''60101'',N''60102'',N''60107'',N''60501'',N''60502'',N''60503'',N''60504'',N''60505'',N''60506'',N''60507'',N''60509'',N''60520'',N''60521'',N''63001'',N''63002'',N''63003'',N''63004'',N''63005'',N''63006'',N''63007'',N''63008'',N''63009'',N''63010'',N''63011'',N''63012'',N''63013'',N''63501'',N''63502'',N''63503'',N''64501'',N''64502'',N''64503'',N''64504'',N''64505'',N''64506'',N''64507'',N''64508'',N''64509'',N''64510'',N''64511'',N''65501'',N''65502'',N''65503'',N''65504'',N''65505'',N''66001'',N''66002'',N''66003'',N''66005'',N''67001'',N''67002'',N''67003'',N''67004'',N''67501'',N''67502'',N''67503'',N''67505'',N''68501'',N''68502'',N''68503'',N''68504'',N''69601'',N''69602'',N''69603'',N''69604'',N''69605'',N''69607'',N''69608'',N''69609'',N''69610'',N''69611'',N''69612'',N''69614'',N''69615'',N''69616'',N''69618'',N''69619'',N''70101'',N''70102'',N''70103'',N''70104'',N''70105'',N''70301'',N''70302'',N''70303'',N''70304'',N''70501'',N''70504'',N''70506'',N''70510'',N''71001'',N''71002'',N''71003'',N''71020'',N''71030'',N''71501'',N''71502'',N''71503'',N''72001'',N''72004'',N''72005'',N''72501'',N''72502'',N''72503'',N''72504'',N''72505'',N''72506'',N''72507'',N''72508'',N''72509'',N''72510'',N''72511'',N''72512'',N''74001'',N''74005'',N''74006'',N''74501'',N''74502'',N''74503'',N''74504'',N''74508'',N''75001'',N''75002'',N''75003'',N''75004'',N''75005'',N''75006'',N''75007'',N''75008'',N''75009'',N''75010'',N''75011'',N''75012'',N''75013'',N''75014'',N''75015'',N''75016'',N''75101'',N''75102'',N''75103'',N''75104'',N''75105'',N''75106'',N''75107'',N''75108'',N''75109'',N''75110'',N''75111'',N''75112'',N''75113'',N''75114'',N''75115'',N''75201'',N''75202'',N''75203'',N''75204'',N''75205'',N''75206'',N''75207'',N''75208'',N''75209'',N''75210'',N''75211'',N''75301'',N''75302'',N''75303'',N''75304'',N''75305'',N''75306'',N''75307'',N''75399'',N''75501'',N''75502'',N''75503'',N''75504'',N''75506'',N''75507'',N''75508'',N''75509'',N''75510'',N''75511'',N''75512'',N''75513'',N''75514'',N''75515'',N''75516'',N''75599'',N''76001'',N''76002'',N''76003'',N''76006'',N''76501'',N''76502'',N''76504'',N''76505'',N''76506'',N''76507'',N''76508'',N''77001'',N''77002'',N''77003'',N''77004'',N''77005'',N''78001'',N''78002'',N''78003'',N''78004'',N''78005'',N''78201'',N''78202'',N''78203'',N''78204'',N''78205'',N''78701'',N''78702'',N''78703'',N''78704'',N''78705'',N''78706'',N''78707'',N''78901'',N''78902'',N''78903'',N''78904'',N''78905'',N''79001'',N''79002'',N''79003'',N''79004'',N''79006'',N''81001'',N''81002'',N''81003'',N''81004'',N''81005'',N''81006'',N''81007'',N''81008'',N''81009'',N''81501'',N''81502'',N''81503'',N''83501'',N''83502'',N''83503'',N''83504'',N''83505'',N''83506'',N''84001'',N''84002'',N''84003'',N''84004'',N''84005'',N''84006'',N''84007'',N''84009'',N''84010'',N''84011'',N''85001'',N''85002'',N''85003'',N''85004'',N''85005'',N''85006'',N''85501'',N''85502'',N''85503'',N''85504'',N''85505'',N''88888'',N''911'',N''99'',N''99999'',N''Dawn
    '',N''test'')) AND (Inventory.Dept_ID in (N''00-01'',N''01-01'',N''01-02'',N''01-03'',N''01-04'',N''01-05'',N''01-06'',N''01-09'',N''01-10'',N''01-11'',N''01-12'',N''01-13'',N''01-14'',N''02-01'',N''02-02'',N''02-03'',N''02-04'',N''02-05'',N''02-06'',N''03-01'',N''03-02'',N''04-01'',N''04-02'',N''05-01'',N''06-01'',N''07-01'',N''07-02'',N''08-01'',N''08-02'',N''09-01'',N''10-01'',N''11-01'',N''12-01'',N''13-01'',N''NONE''))
    AND (Invoice_Totals.Station_ID in (N''01'',N''02''))
    AND Invoice_Totals.DateTime BETWEEN @StartDate AND @EndDate
    AND (CASE WHEN @GenRptFor = 1 THEN 1 ELSE (CASE WHEN Invoice_Itemized.Quantity 0 THEN 1 ELSE 0 END) END)=1
    GROUP BY
    Departments.Dept_ID,Departments.Description, Inventory.ItemNum, Inventory.ItemName
    ORDER BY
    Departments.Dept_ID ASC, Inventory.ItemNum ASC, Inventory.ItemName ASC',N'@StartDate datetime,@EndDate datetime,@GenRptFor nvarchar(1)',@StartDate='Apr 15 2012 12:00:00:000AM',@EndDate='Apr 21 2012 11:59:59:000PM',@GenRptFor=N'1'K.Athma

    DB:2.54:Sql Query Is Taking Long Time To Run 3c

    I think since it's a query produced by a report, that this is how IN list gets expanded to.For every expert, there is an equal and opposite expert. - Becker's Law

    My blog

  • RELEVANCY SCORE 2.54

    DB:2.54:Want To Ignore Some Fields In Validation/Export Process In Fdm 9s


    Hello!

    Is it possible to ignore some fields loaded in fdqm (flat file or sql table)?

    Incoming data have some fields with auxiliary information. I want to load this information to fdm but ignore it in mapping, validation and export processes. I should use Desc1 and Desc2 field types but I need six same fields. Attr field types also not usable because length of this fields only 20 symbols.
    Skip function in ImportFormat ignore fields in import process, so user can't see auxiliary information for amount.

    Regards,
    Alexey Skophertsa

    DB:2.54:Want To Ignore Some Fields In Validation/Export Process In Fdm 9s

    Unfortunately you don't have many options here. You could split the remaining auxilary information across the attribute dimensions. If you use the 2 description fields that would leave you with 3 attribute fields per additional auxilary detail which at 60 characters in total should be enough. Not the best I agree but is certainly an option that could be managed via an import format.

    Edited by: SH on Feb 10, 2012 1:50 PM

  • RELEVANCY SCORE 2.54

    DB:2.54:Background Color Bug With Shfill x3


    I have a simple PostScript file that uses a Radial shading dictionary and shfill operator.

    /PageSize [300 300] setpagedevice
    10 10 moveto
    290 10 lineto
    290 290 lineto
    10 290 lineto
    closepath
    /DeviceCMYK setcolorspace
    0 1 0 0 setcolor
    fill
    newpath
    20 20 moveto
    280 20 lineto
    280 280 lineto
    20 280 lineto
    closepath
    clip
    95 20 translate
    gsave

    /ShadingType 3
    /Coords [25 100 90 -10 75 0]
    /Extend [false false]
    /Background [0.35 0.35 0 0]
    /ColorSpace /DeviceCMYK
    /Function
    /FunctionType 2
    /Domain [0 1]
    /C0 [0 0 0.50 0]
    /C1 [0 0.50 0.50 0]
    /N 1

    shfill
    grestore
    showpage

    When i drag this PostScript file in Adobe Distiller 11, it generates a PDF file contains the Background entry in the shading dictionary.
    As per PLRM, shfill operator must ignore the Background entry if present.

    Now As the the PDF Spec 1.7 Page No. 305 Table 4.28 "Note: The background color is applied only when the shading is used as part of a shading pattern, not when it is painted directly with the sh operator", PDF renderer application must ignore the Background entry if present in the shading dictionary when used directly with sh operator.

    To me It seems a bug with the distiller which should ignore that entry but not. There is also a bug in the Reader application which should ignore the specified background entry when used directly with sh operator but not.

    Thanks
    Raquib

    DB:2.54:Background Color Bug With Shfill x3


    I consider a reply rather unlikely, community users aren't likely to be able to confirm or deny whether it is a bug in Adobe Reader, and this is not a forum for Distiller. This is not a bug report forum. You might consider recasting this as a question - putting forward a hypothesis and asking whether the hypothesis is correct, without emphasising the connection to Adobe products (but when you mention them, include the version) - and posting in PDF Language and Specifications . That is even less of a bug report forum, but you are more likely to reach people who understand. Posting a link to a small sample PDF is essential, PDF experts often will not look at disconnected fragments. You cannot post a PDF in this forum.

  • RELEVANCY SCORE 2.54

    DB:2.54:Background Key Bug In Shfill Sh Operator 8j



    I have a simple PostScript file that uses a Radial shading dictionary and shfill operator.

    /PageSize [300 300] setpagedevice

    10 10 moveto

    290 10 lineto

    290 290 lineto

    10 290 lineto

    closepath

    /DeviceCMYK setcolorspace

    0 1 0 0 setcolor

    fill

    newpath

    20 20 moveto

    280 20 lineto

    280 280 lineto

    20 280 lineto

    closepath

    clip

    95 20 translate

    gsave

    /ShadingType 3

    /Coords [25 100 90 -10 75 0]

    /Extend [false false]

    /Background [0.35 0.35 0 0]

    /ColorSpace /DeviceCMYK

    /Function

    /FunctionType 2

    /Domain [0 1]

    /C0 [0 0 0.50 0]

    /C1 [0 0.50 0.50 0]

    /N 1

    shfill

    grestore

    showpage

    When i drag this PostScript file in Adobe Distiller 11, it generates a PDF file contains the Background entry in the shading dictionary.

    As per PLRM, shfill operator must ignore the Background entry if present.

    Now As the the PDF Spec 1.7 Page No. 305 Table 4.28 "Note: The background color is applied only when the shading is used as part of a shading pattern, not when it is painted directly with the sh operator", PDF renderer application must ignore the Background entry if present in the shading dictionary when used directly with sh operator.

    To me It seems a bug with the distiller which should ignore that entry but not. There is also a bug in the Reader application which should ignore the specified background entry when used directly with sh operator but not.

    Thanks

    Raquib

    DB:2.54:Background Key Bug In Shfill Sh Operator 8j


    Duplicate. See Background color bug with shfill

  • RELEVANCY SCORE 2.53

    DB:2.53:Set Analysis Inheritance f8



    Hey all,

    I'm writing a couple of variable to calculate KPI's and min/avg/max values of thoose KPI's. The min/avg/max should be calculated ignoring certain selections in the qvw. The problem is that the written functions can get very long. For example:

    KPI = count(value)*(max(date)-min(date))

    When I need to remove the filters to calculate min/avg/max then I need to use something like:

    KPI_avg = avg({$removeValue=}count({$removeValue=}value)*(max({$removeValue=}date)-min({$removeValue=}date)))

    I have a longer function for my KPI and an even longer selection I need to ignore.

    So my question is: can I let the set analysis be inherited by defining my 'ignore selection' only once? for ex:

    KPI_avg_wanted = avg({$removeValue=}count(value)*(max(date)-min(date)))

    I tried something similar to the above but that doesn't work. Anyone got suggestions? thanks!

    DB:2.53:Set Analysis Inheritance f8


    I believe something like

    = avg({$removeValue=}count({$removeValue=}value)* max({$removeValue=}date)-min({$removeValue=}date)))

    shouldn't work at all, since you are embedding aggregation functions into another aggregation function. You need to use advanced aggregation to handle this.

  • RELEVANCY SCORE 2.53

    DB:2.53:How To Find Top N And Bottom N In Single Report pz



    Hi,

    My requirement is to find the Top N and Bottom N in the same Query. Bottom N Condition should not consider/ignore the Zero Values. Is it possible to do in Single Query.

    Regards,

    Amit.

    DB:2.53:How To Find Top N And Bottom N In Single Report pz


    You just need to create one condition....

    in the same condition define two rules...one for top n and second rule for bottom n.

    Rgds

    amit

  • RELEVANCY SCORE 2.53

    DB:2.53:Hana Excel Pivot Table jx



    Hi

    We are implement ing HANA (sidecar approach).

    I built a model in the studio and we are displaying in simple excel, we have the MDX connector.

    I am then building a pivot table, but when i try the Excel function, "convert to formula" i get "#N/A" ( i see the formulas in the cells though)

    is there a setting or an incompatibility i should be aware of ? i am using Ecel 2010

    Column LabelsValues#N/A#N/A##N/A#N/A###N/A#N/A#N/A#N/A#N/A###N/A#N/A#N/A#N/A##N/A#N/A###N/A#N/A#N/A#N/A#N/A###N/A#N/A#N/A#N/A##N/A#N/A###N/A#N/A#N/A#N/A#N/A###N/A

  • RELEVANCY SCORE 2.53

    DB:2.53:Function Onmouseover() Ignore Selected Raycast f9



    so are you raycasting the target? And you get object A when you want object B?


    Try disabling the collision meshs on those objects when you do what you want, so ignore by enable = false

    DB:2.53:Function Onmouseover() Ignore Selected Raycast f9


    so are you raycasting the target? And you get object A when you want object B?


    Try disabling the collision meshs on those objects when you do what you want, so ignore by enable = false

  • RELEVANCY SCORE 2.53

    DB:2.53:Does Numbers Allow Creation Of Macros? pk


    I have been using Panorama until now but thinking of switching. A nice feature of Panorama is the ability to record/use a macro. Does N. have a similar function?

    DB:2.53:Does Numbers Allow Creation Of Macros? pk

    One more question using the Excel vocabulary
    May you take care to use the Numbers one ?
    *In Numbers, a sheet may contain table(s), text block(s), media item(s) or nothing
    but _it will never contain cells_* !

    May be done with AppleScript.
    Send me a Numbers document with the original table
    and the edited one.

    Click my blue name to get my address.

    But, I'm wondering why you must do that.
    Why not use a custom template with most of the attributes already defined.
    Custom templates where defned to fit these needs.

    Yvan KOENIG (VALLAURIS, France) mercredi 28 avril 2010 16:16:25

  • RELEVANCY SCORE 2.53

    DB:2.53:Ignore Null Values From Total Function 8m



    Hi All,

    I have 1 straight table with below dimensions and Expressions:

    Plan ,Sales and Total Sales.

    The issue is there is Sales for some Null(-) Plans. So when I am using total function in Total Sales, then its including the sales for null plans also,even after selecting Suppress Null Values for Plan dimension.

    Is there any way to ignore the sales for null plans from Total function.

    Thanks in Advance.... !

    DB:2.53:Ignore Null Values From Total Function 8m


    Please see the attached qvw file. Is this what you were trying to do?

    Best,

    S

  • RELEVANCY SCORE 2.53

    DB:2.53:Ignore Line Feeds When Using Readline() 1m


    Hi guys please help me , how can i ignore line feed when using readLine() , what i mean is i have a textfield which contain some details just like this

    dfdfasfasfsvdsdhj \n
    dbaksdbjkasbdjkasbd \n
    asdbashdbsk \n

    like so and i need to get all the text using readLine() but just because every line contained a line feed , readLine() method is only getting the 1st line . how can i ignore this ?

    DB:2.53:Ignore Line Feeds When Using Readline() 1m

    You need to create input and output streams and readers and writers for the life of the socket. Not every time you do an I/O operation.

  • RELEVANCY SCORE 2.53

    DB:2.53:Ora-00001 During Import kj


    Hai all,

    8i on windows server 2000

    am importing a dump file like follows :

    imp userid=system/manager file=dumpfile.dmp log=dumplog.log full=Y ignore=Y constraints=N

    I've explicility set ignore=Y and constraints=N but still, import logs shows many error like below :

    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYS.TBT_IDX) violated

    Kai

    DB:2.53:Ora-00001 During Import kj

    Thanks Robert,

    Column 1 IN_A_MEADER
    Column 2
    Column 3 DBO
    Column 4 -10
    Column 5 400
    Column 6 N
    Column 7 N
    Column 8 178
    Column 9 2
    Column 10 Arabic Transparent
    Column 11 -10
    Column 12 400
    Column 13 N
    Column 14 N
    Column 15 0
    Column 16 34
    Column 17 Arial
    Column 18 -10
    Column 19 400
    Column 20 N
    Column 21 N
    Column 22 178
    Column 23 2
    Column 24 Arabic Transparent
    Column 25
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYS.PBT_IDX) violatedselect * from dba_constraints where constraint_name = 'PBT_IDX'; returns

    not rows selected

    Thanks

    Edited by: KaiS on Dec 16, 2009 8:09 AM

    Edited by: KaiS on Dec 16, 2009 8:27 AM

  • RELEVANCY SCORE 2.53

    DB:2.53:Ignore Update For An App js


    Is there a way to +ignore an update+ for an app, similar to the way Software Update does it?

    I would like to stick with an older version and not see an update badge for it, either permanently, or at least not until the next new version comes out.

    Regards, Michael

    DB:2.53:Ignore Update For An App js

    I've been looking for the ability to do the same thing here. There are a number of apps which I do not want to update at this stage, and I don't want to have to update the other apps one by one. There has got to be some way of either doing this, or Apple implementing this feature.

  • RELEVANCY SCORE 2.52

    DB:2.52:No Way To Disable The Javascript Window.Onbeforeunload() 8f



    Firefox has given the options for the user to control how certain javascript functions can be used. I came across a horrible use of window.onbeforeunload() which keeps firefox from closing a tab, and therefore also quiting. A manual kill is required to close a page with the following code: (just open in firefox to test)

    titletest/titlescript type="text/javascript"window.onbeforeunload=function(){return 'PRESS ESCAPE OR CLOSE THIS ALERT\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n';}/script

    It would be great if I could disable this javascript code, just like I can with window move/resize, raise/lower, hide statusbar, etc..

    DB:2.52:No Way To Disable The Javascript Window.Onbeforeunload() 8f



    First, install GreaseMonkey:
    https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

    Then, create a new user script for all pages, or for the specific website;
    the script itself is very simple, it's just this line:

    window.onbeforeunload=null;

    It's just overriding the annoying function called at the time the page is closed, with an empty function.
    That's all.
    In some cases, it may not work if some script inside the page is modifying the DOM after the page is loaded.
    Have fun!

  • RELEVANCY SCORE 2.52

    DB:2.52:Factorial Question 3f


    Hi

    I have a function "foo", which is similar to factorial and is defined like this:

    when n=0, then foo(n) = 1
    when n0, then foo(n)=(n+5)*foo(n-2)

    It should be non-recursive and output should be following:
    when n=1, then result=6.
    when n=2, then result=7.
    when n=3, then result=48.
    when n=4, then result=63.
    ....

    However, there is something wrong my code, because results are wrong.

    public class fact {

    static int summa;
    static int number;
    public static void main(String[] args) {

    System.out.print("\n\nEnter a N : ");
    number = TextIO.getlnInt();

    summa=calculator(number);
    System.out.println(summa);
    }

    public static int calculator (int n)
    {
    if (n=0)
    {
    return 1;
    }
    else
    {
    int result = n+5;
    for ( int i=n-2; i=1; i-- )
    {
    result=result*i;
    }
    return result;
    }
    }
    }

    DB:2.52:Factorial Question 3f

    This code is all wrong:

    int result = n+5;
    for ( int i=n-2; i=1; i-- )
    {
    result=result*i;
    }Look at the for loop. You've got three statements
    there: the initializer, the stopping condition, and
    the next condition. Two of the three are incorrect.

    Focus your attention there.Loop body's not correct, either.

    %

  • RELEVANCY SCORE 2.52

    DB:2.52:Vector Matrix Vector Product Aka F64 Result = V[1,N] * M[N, N] * V[N,1] z3



    f32/f64 result = v[1,n] * m[n, n] * v[n,1]

    Is there a function which computes the above without having to allocate intermediate storage?

    Similar to MahDist but with full matrix as inverse covariance matrix. Also the ippsLogGaussSingle_BlockDVar_32f is not suitable here due to the allocation requirement.