var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671434&x=3736',
		'title': '',
		'imageId': '68671434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671435&x=3736',
		'title': '',
		'imageId': '68671435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671430&x=3736',
		'title': '',
		'imageId': '68671430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671445&x=3736',
		'title': '',
		'imageId': '68671445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671431&x=3736',
		'title': '',
		'imageId': '68671431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671437&x=3736',
		'title': '',
		'imageId': '68671437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671436&x=3736',
		'title': '',
		'imageId': '68671436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671438&x=3736',
		'title': '',
		'imageId': '68671438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671439&x=3736',
		'title': '',
		'imageId': '68671439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671432&x=3736',
		'title': '',
		'imageId': '68671432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671440&x=3736',
		'title': '',
		'imageId': '68671440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671443&x=3736',
		'title': '',
		'imageId': '68671443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671444&x=3736',
		'title': '',
		'imageId': '68671444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671442&x=3736',
		'title': '',
		'imageId': '68671442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671441&x=3736',
		'title': '',
		'imageId': '68671441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671429&x=3736',
		'title': '',
		'imageId': '68671429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68671433&x=3736',
		'title': '',
		'imageId': '68671433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68880944&x=3736',
		'title': '',
		'imageId': '68880944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950025&docid=68880949&x=3736',
		'title': '',
		'imageId': '68880949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950025';

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