var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211521&x=4447',
		'title': '',
		'imageId': '69211521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211522&x=4447',
		'title': '',
		'imageId': '69211522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211523&x=4447',
		'title': '',
		'imageId': '69211523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211524&x=4447',
		'title': '',
		'imageId': '69211524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211525&x=4447',
		'title': '',
		'imageId': '69211525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211526&x=4447',
		'title': '',
		'imageId': '69211526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211527&x=4447',
		'title': '',
		'imageId': '69211527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211528&x=4447',
		'title': '',
		'imageId': '69211528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211529&x=4447',
		'title': '',
		'imageId': '69211529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211530&x=4447',
		'title': '',
		'imageId': '69211530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211531&x=4447',
		'title': '',
		'imageId': '69211531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211532&x=4447',
		'title': '',
		'imageId': '69211532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211533&x=4447',
		'title': '',
		'imageId': '69211533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211534&x=4447',
		'title': '',
		'imageId': '69211534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211535&x=4447',
		'title': '',
		'imageId': '69211535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211536&x=4447',
		'title': '',
		'imageId': '69211536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211537&x=4447',
		'title': '',
		'imageId': '69211537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211538&x=4447',
		'title': '',
		'imageId': '69211538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211539&x=4447',
		'title': '',
		'imageId': '69211539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211540&x=4447',
		'title': '',
		'imageId': '69211540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211541&x=4447',
		'title': '',
		'imageId': '69211541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978174&docid=69211542&x=4447',
		'title': '',
		'imageId': '69211542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978174';

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