var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570795&x=4827',
		'title': '',
		'imageId': '68570795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570796&x=4827',
		'title': '',
		'imageId': '68570796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570800&x=4827',
		'title': '',
		'imageId': '68570800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570801&x=4827',
		'title': '',
		'imageId': '68570801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570797&x=4827',
		'title': '',
		'imageId': '68570797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570805&x=4827',
		'title': '',
		'imageId': '68570805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570807&x=4827',
		'title': '',
		'imageId': '68570807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570792&x=4827',
		'title': '',
		'imageId': '68570792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570794&x=4827',
		'title': '',
		'imageId': '68570794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570806&x=4827',
		'title': '',
		'imageId': '68570806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570808&x=4827',
		'title': '',
		'imageId': '68570808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570798&x=4827',
		'title': '',
		'imageId': '68570798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570803&x=4827',
		'title': '',
		'imageId': '68570803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570793&x=4827',
		'title': '',
		'imageId': '68570793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570804&x=4827',
		'title': '',
		'imageId': '68570804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570799&x=4827',
		'title': '',
		'imageId': '68570799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570802&x=4827',
		'title': '',
		'imageId': '68570802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570790&x=4827',
		'title': '',
		'imageId': '68570790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948273&docid=68570791&x=4827',
		'title': '',
		'imageId': '68570791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948273';

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