var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284535&x=728',
		'title': '',
		'imageId': '68284535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284541&x=728',
		'title': '',
		'imageId': '68284541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284542&x=728',
		'title': '',
		'imageId': '68284542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284543&x=728',
		'title': '',
		'imageId': '68284543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284539&x=728',
		'title': '',
		'imageId': '68284539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284536&x=728',
		'title': '',
		'imageId': '68284536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284537&x=728',
		'title': '',
		'imageId': '68284537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284538&x=728',
		'title': '',
		'imageId': '68284538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284540&x=728',
		'title': '',
		'imageId': '68284540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936750&docid=68284534&x=728',
		'title': '',
		'imageId': '68284534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936750';

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