var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501580&x=3736',
		'title': '',
		'imageId': '68501580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501595&x=3736',
		'title': '',
		'imageId': '68501595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501589&x=3736',
		'title': '',
		'imageId': '68501589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501586&x=3736',
		'title': '',
		'imageId': '68501586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501585&x=3736',
		'title': '',
		'imageId': '68501585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501596&x=3736',
		'title': '',
		'imageId': '68501596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501583&x=3736',
		'title': '',
		'imageId': '68501583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501584&x=3736',
		'title': '',
		'imageId': '68501584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501591&x=3736',
		'title': '',
		'imageId': '68501591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501581&x=3736',
		'title': '',
		'imageId': '68501581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501602&x=3736',
		'title': '',
		'imageId': '68501602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501582&x=3736',
		'title': '',
		'imageId': '68501582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501588&x=3736',
		'title': '',
		'imageId': '68501588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501593&x=3736',
		'title': '',
		'imageId': '68501593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501599&x=3736',
		'title': '',
		'imageId': '68501599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501590&x=3736',
		'title': '',
		'imageId': '68501590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501597&x=3736',
		'title': '',
		'imageId': '68501597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501594&x=3736',
		'title': '',
		'imageId': '68501594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501600&x=3736',
		'title': '',
		'imageId': '68501600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501587&x=3736',
		'title': '',
		'imageId': '68501587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501601&x=3736',
		'title': '',
		'imageId': '68501601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501592&x=3736',
		'title': '',
		'imageId': '68501592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946749&docid=68501598&x=3736',
		'title': '',
		'imageId': '68501598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946749';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
