var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917593&x=3319',
		'title': '',
		'imageId': '69917593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917595&x=3319',
		'title': '',
		'imageId': '69917595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917596&x=3319',
		'title': '',
		'imageId': '69917596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917597&x=3319',
		'title': '',
		'imageId': '69917597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917598&x=3319',
		'title': '',
		'imageId': '69917598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917599&x=3319',
		'title': '',
		'imageId': '69917599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917600&x=3319',
		'title': '',
		'imageId': '69917600',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917601&x=3319',
		'title': '',
		'imageId': '69917601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917602&x=3319',
		'title': '',
		'imageId': '69917602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917603&x=3319',
		'title': '',
		'imageId': '69917603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917604&x=3319',
		'title': '',
		'imageId': '69917604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917605&x=3319',
		'title': '',
		'imageId': '69917605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917606&x=3319',
		'title': '',
		'imageId': '69917606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917607&x=3319',
		'title': '',
		'imageId': '69917607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917608&x=3319',
		'title': '',
		'imageId': '69917608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917609&x=3319',
		'title': '',
		'imageId': '69917609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917610&x=3319',
		'title': '',
		'imageId': '69917610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008314&docid=69917611&x=3319',
		'title': '',
		'imageId': '69917611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008314';

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