var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009400&x=3910',
		'title': '',
		'imageId': '68009400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009398&x=3910',
		'title': '',
		'imageId': '68009398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009397&x=3910',
		'title': '',
		'imageId': '68009397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009395&x=3910',
		'title': '',
		'imageId': '68009395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009407&x=3910',
		'title': '',
		'imageId': '68009407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009396&x=3910',
		'title': '',
		'imageId': '68009396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009411&x=3910',
		'title': '',
		'imageId': '68009411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009401&x=3910',
		'title': '',
		'imageId': '68009401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009403&x=3910',
		'title': '',
		'imageId': '68009403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009406&x=3910',
		'title': '',
		'imageId': '68009406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009393&x=3910',
		'title': '',
		'imageId': '68009393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009410&x=3910',
		'title': '',
		'imageId': '68009410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009408&x=3910',
		'title': '',
		'imageId': '68009408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009409&x=3910',
		'title': '',
		'imageId': '68009409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009402&x=3910',
		'title': '',
		'imageId': '68009402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009394&x=3910',
		'title': '',
		'imageId': '68009394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009399&x=3910',
		'title': '',
		'imageId': '68009399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009405&x=3910',
		'title': '',
		'imageId': '68009405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009392&x=3910',
		'title': '',
		'imageId': '68009392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924608&docid=68009404&x=3910',
		'title': '',
		'imageId': '68009404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924608';

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";
	})
}
