var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588028&x=449',
		'title': '',
		'imageId': '69588028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588030&x=449',
		'title': '',
		'imageId': '69588030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588031&x=449',
		'title': '',
		'imageId': '69588031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588032&x=449',
		'title': '',
		'imageId': '69588032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588033&x=449',
		'title': '',
		'imageId': '69588033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588034&x=449',
		'title': '',
		'imageId': '69588034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588036&x=449',
		'title': '',
		'imageId': '69588036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588035&x=449',
		'title': '',
		'imageId': '69588035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588037&x=449',
		'title': '',
		'imageId': '69588037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588039&x=449',
		'title': '',
		'imageId': '69588039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588040&x=449',
		'title': '',
		'imageId': '69588040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588038&x=449',
		'title': '',
		'imageId': '69588038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588050&x=449',
		'title': '',
		'imageId': '69588050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588043&x=449',
		'title': '',
		'imageId': '69588043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588044&x=449',
		'title': '',
		'imageId': '69588044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588045&x=449',
		'title': '',
		'imageId': '69588045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588046&x=449',
		'title': '',
		'imageId': '69588046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588047&x=449',
		'title': '',
		'imageId': '69588047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588048&x=449',
		'title': '',
		'imageId': '69588048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588049&x=449',
		'title': '',
		'imageId': '69588049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588042&x=449',
		'title': '',
		'imageId': '69588042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994285&docid=69588041&x=449',
		'title': '',
		'imageId': '69588041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994285';

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