var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222520&x=1330',
		'title': '',
		'imageId': '68222520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222519&x=1330',
		'title': '',
		'imageId': '68222519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222517&x=1330',
		'title': '',
		'imageId': '68222517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222518&x=1330',
		'title': '',
		'imageId': '68222518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222516&x=1330',
		'title': '',
		'imageId': '68222516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222510&x=1330',
		'title': '',
		'imageId': '68222510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222511&x=1330',
		'title': '',
		'imageId': '68222511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222512&x=1330',
		'title': '',
		'imageId': '68222512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222513&x=1330',
		'title': '',
		'imageId': '68222513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222514&x=1330',
		'title': '',
		'imageId': '68222514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933704&docid=68222515&x=1330',
		'title': '',
		'imageId': '68222515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933704';

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