var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584784&x=933',
		'title': '',
		'imageId': '68584784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584785&x=933',
		'title': '',
		'imageId': '68584785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584786&x=933',
		'title': '',
		'imageId': '68584786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584787&x=933',
		'title': '',
		'imageId': '68584787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584788&x=933',
		'title': '',
		'imageId': '68584788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584789&x=933',
		'title': '',
		'imageId': '68584789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584790&x=933',
		'title': '',
		'imageId': '68584790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584791&x=933',
		'title': '',
		'imageId': '68584791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584792&x=933',
		'title': '',
		'imageId': '68584792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584793&x=933',
		'title': '',
		'imageId': '68584793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584794&x=933',
		'title': '',
		'imageId': '68584794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584795&x=933',
		'title': '',
		'imageId': '68584795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584796&x=933',
		'title': '',
		'imageId': '68584796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584797&x=933',
		'title': '',
		'imageId': '68584797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584798&x=933',
		'title': '',
		'imageId': '68584798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584799&x=933',
		'title': '',
		'imageId': '68584799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584800&x=933',
		'title': '',
		'imageId': '68584800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584801&x=933',
		'title': '',
		'imageId': '68584801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584802&x=933',
		'title': '',
		'imageId': '68584802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584803&x=933',
		'title': '',
		'imageId': '68584803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584805&x=933',
		'title': '',
		'imageId': '68584805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584806&x=933',
		'title': '',
		'imageId': '68584806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949981&docid=68584804&x=933',
		'title': '',
		'imageId': '68584804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949981';

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